maybe unpublishing a post works now?
This commit is contained in:
@ -181,6 +181,7 @@ ORDER BY read_at DESC, created_at DESC;
|
||||
}
|
||||
|
||||
pub(crate) async fn delete_by_link(db: &sqlx::Pool<Sqlite>, link: &str) {
|
||||
let link = Some(link);
|
||||
sqlx::query!("DELETE FROM notification WHERE link=?", link)
|
||||
.execute(db)
|
||||
.await
|
||||
|
Reference in New Issue
Block a user