refactor(api): notification state changes use PATCH with JSON body
This commit is contained in:
@@ -83,6 +83,6 @@ pub struct SearchQuery {
|
||||
|
||||
#[derive(serde::Deserialize, utoipa::ToSchema)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct FollowRemoteRequest {
|
||||
pub handle: String,
|
||||
pub struct NotificationUpdateRequest {
|
||||
pub read: bool,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user