mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 13:36:59 +00:00
chore: remove db parameter on ack
This commit is contained in:
@@ -13,7 +13,7 @@ pub async fn req(db: &Db, user: User, target: Ref, message: Ref) -> Result<Empty
|
||||
.await?;
|
||||
|
||||
channel
|
||||
.ack(db, &user.id, &message.id)
|
||||
.ack(&user.id, &message.id)
|
||||
.await
|
||||
.map(|_| EmptyResponse)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user