forked from jmug/stoatchat
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?;
|
.await?;
|
||||||
|
|
||||||
channel
|
channel
|
||||||
.ack(db, &user.id, &message.id)
|
.ack(&user.id, &message.id)
|
||||||
.await
|
.await
|
||||||
.map(|_| EmptyResponse)
|
.map(|_| EmptyResponse)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user