diff --git a/src/entities/notification.rs b/src/entities/notification.rs index 3ebee85..4e71e4d 100644 --- a/src/entities/notification.rs +++ b/src/entities/notification.rs @@ -5,6 +5,7 @@ use super::status::Status; #[derive(Debug, Clone, Deserialize)] pub struct Notification { pub id: u64, + #[serde(rename = "type")] pub notification_type: NotificationType, pub created_at: DateTime, pub account: Account,