fix: Support passing the proposal status
This commit is contained in:
		@@ -38,6 +38,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
 | 
			
		||||
                creator_name,
 | 
			
		||||
                title,
 | 
			
		||||
                description,
 | 
			
		||||
                ProposalStatus::Draft,
 | 
			
		||||
                Utc::now(),
 | 
			
		||||
                Utc::now(),
 | 
			
		||||
                start_date,
 | 
			
		||||
@@ -158,6 +159,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
 | 
			
		||||
                "Retrieved Creator Name",
 | 
			
		||||
                "Retrieved Proposal",
 | 
			
		||||
                "Retrieved Description",
 | 
			
		||||
                ProposalStatus::Draft,
 | 
			
		||||
                Utc::now(),
 | 
			
		||||
                Utc::now(),
 | 
			
		||||
                start_date,
 | 
			
		||||
@@ -184,6 +186,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
 | 
			
		||||
                "Creator Name 1",
 | 
			
		||||
                "Proposal 1",
 | 
			
		||||
                "Description 1",
 | 
			
		||||
                ProposalStatus::Draft,
 | 
			
		||||
                Utc::now(),
 | 
			
		||||
                Utc::now(),
 | 
			
		||||
                start_date,
 | 
			
		||||
@@ -195,6 +198,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
 | 
			
		||||
                "Creator Name 2",
 | 
			
		||||
                "Proposal 2",
 | 
			
		||||
                "Description 2",
 | 
			
		||||
                ProposalStatus::Draft,
 | 
			
		||||
                Utc::now(),
 | 
			
		||||
                Utc::now(),
 | 
			
		||||
                start_date,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user