chore: remove db parameter on ack

This commit is contained in:
Paul Makles
2022-04-21 18:15:59 +01:00
parent 02ba8c7978
commit 367c4e3260

View File

@@ -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)
}