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

@@ -18,10 +18,11 @@ fn main() {
"Ahmed fared", // creator_id
"Community Fund Allocation for Q3", // title
"Proposal to allocate funds for community projects in the third quarter.", // description
Utc::now(), // created_at
Utc::now(), // updated_at
Utc::now(), // vote_start_date
Utc::now() + Duration::days(14), // vote_end_date (14 days from now)
ProposalStatus::Draft,
Utc::now(), // created_at
Utc::now(), // updated_at
Utc::now(), // vote_start_date
Utc::now() + Duration::days(14), // vote_end_date (14 days from now)
);
println!(
@@ -131,6 +132,7 @@ fn main() {
"Wael Ghonem",
"Internal Team Restructure Vote",
"Vote on proposed internal team changes.",
ProposalStatus::Draft,
Utc::now(),
Utc::now(),
Utc::now(),