chore: bump dependencies

This commit is contained in:
Timo Kösters 2022-11-09 18:46:10 +01:00
parent ccdaaceb33
commit 7540227388
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4
8 changed files with 333 additions and 250 deletions

View file

@ -575,9 +575,10 @@ pub async fn set_pushers_route(
body: Ruma<set_pusher::v3::Request>,
) -> Result<set_pusher::v3::Response> {
let sender_user = body.sender_user.as_ref().expect("user is authenticated");
let pusher = body.pusher.clone();
services().pusher.set_pusher(sender_user, pusher)?;
services()
.pusher
.set_pusher(sender_user, body.action.clone())?;
Ok(set_pusher::v3::Response::default())
}