Skip to content

Commit

Permalink
fix: add renewing process of attachments
Browse files Browse the repository at this point in the history
  • Loading branch information
reversed-R committed Jul 19, 2024
1 parent a313c37 commit 42dea22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sos24-infrastructure/src/form.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ impl FormRepository for MongoFormRepository {
"ends_at":bson::to_bson(&form_doc.ends_at).unwrap(),
"categories": bson::to_bson(&form_doc.categories).unwrap(),
"attributes": bson::to_bson(&form_doc.attributes).unwrap(),
"attachments": bson::to_bson(&form_doc.attachments).unwrap(), //fix by aKYM in 2024/7/19
"attachments": bson::to_bson(&form_doc.attachments).unwrap(),
"is_notified": bson::to_bson(&form_doc.is_notified).unwrap(),
"items": bson::to_bson(&form_doc.items).unwrap(),
"updated_at": bson::to_bson(&form_doc.updated_at).unwrap(),
Expand Down

0 comments on commit 42dea22

Please sign in to comment.