fix: Switch to remove for unpinning

This commit is contained in:
Zomatree
2024-07-21 22:16:23 +01:00
parent d2f4823ceb
commit c50435d499
11 changed files with 69 additions and 18 deletions

View File

@@ -33,7 +33,7 @@ pub async fn message_unpin(
message.update(db, PartialMessage {
pinned: Some(false),
..Default::default()
}).await?;
}, vec![FieldsMessage::Pinned]).await?;
Ok(EmptyResponse)
}