forked from MightyPork/elefren-fork
Add missing #[serde(rename = "type")] to Notification::notification_type (#4)
This commit is contained in:
@@ -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<UTC>,
|
||||
pub account: Account,
|
||||
|
||||
Reference in New Issue
Block a user