forked from MightyPork/elefren-fork
Added serde rename for notificiation, and updated repo link
This commit is contained in:
@@ -13,8 +13,12 @@ pub struct Notification {
|
||||
|
||||
#[derive(Debug, Clone, Deserialize)]
|
||||
pub enum NotificationType {
|
||||
#[serde(rename = "mention")]
|
||||
Mention,
|
||||
#[serde(rename = "reblog")]
|
||||
Reblog,
|
||||
#[serde(rename = "favourite")]
|
||||
Favourite,
|
||||
#[serde(rename = "follow")]
|
||||
Follow,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user