Skip to content

Commit

Permalink
chore: avoid wildcard matching
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed Sep 27, 2023
1 parent 4756466 commit 86aa0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/push_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ pub async fn handler_internal(
);

match provider.send_notification(client.token, body.payload).await {
Ok(_) => Ok(()),
Ok(()) => Ok(()),
Err(error) => match error {
Error::BadDeviceToken => {
state
Expand Down

0 comments on commit 86aa0cd

Please sign in to comment.