Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
link2xt committed May 9, 2024
1 parent 55ad2b5 commit 5b9ff69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ async fn notify_fcm(
}

let url = "https://fcm.googleapis.com/v1/projects/delta-chat-fcm/messages:send";
let body = format!("{{\"message\":{{\"token\":\"{token}\",\"data\":{{\"level\": \"awesome\"}} }} }}");
let body =
format!("{{\"message\":{{\"token\":\"{token}\",\"data\":{{\"level\": \"awesome\"}} }} }}");
let res = client
.post(url)
.body(body.clone())
Expand Down

0 comments on commit 5b9ff69

Please sign in to comment.