Skip to content

Commit

Permalink
change: updatedAt to updated_at in toml
Browse files Browse the repository at this point in the history
  • Loading branch information
kooWZ authored Nov 29, 2024
1 parent 7f60d81 commit d858040
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/model/announcement.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Announcement {

// FIXME: Use updatedAt as objectId requires updatedAt to be unique
Announcement.fromToml(Map<String, dynamic> notice){
updatedAt = notice['updatedAt'];
updatedAt = notice['updated_at'];
content = notice['content'];
maxVersion = notice['build'];
createdAt = updatedAt;
Expand Down

0 comments on commit d858040

Please sign in to comment.