fix: Support passing the proposal status

This commit is contained in:
Mahmoud-Emad
2025-05-21 11:26:13 +03:00
parent 8997d92e41
commit bd3c0c1932
3 changed files with 12 additions and 5 deletions

View File

@@ -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,