diff options
author | Nyaaori <+@nyaaori.cat> | 2022-10-10 14:09:11 +0200 |
---|---|---|
committer | Nyaaori <+@nyaaori.cat> | 2022-10-10 14:09:11 +0200 |
commit | f430b874598f4262e5af5ecee8dd396e317a1e87 (patch) | |
tree | 32544596835883720a8412b1618d52b82e78b05f /src/api/client_server/to_device.rs | |
parent | ca82b2940d9241b99e694f3c8d597feb5bf1bbc0 (diff) | |
download | conduit-f430b874598f4262e5af5ecee8dd396e317a1e87.zip |
cargo clippy
Diffstat (limited to 'src/api/client_server/to_device.rs')
-rw-r--r-- | src/api/client_server/to_device.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/client_server/to_device.rs b/src/api/client_server/to_device.rs index 34db3f9..f84d54f 100644 --- a/src/api/client_server/to_device.rs +++ b/src/api/client_server/to_device.rs @@ -58,7 +58,7 @@ pub async fn send_event_to_device_route( services().users.add_to_device_event( sender_user, target_user_id, - &target_device_id, + target_device_id, &body.event_type, event.deserialize_as().map_err(|_| { Error::BadRequest(ErrorKind::InvalidParam, "Event is invalid") |