Skip to content

Commit

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

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

0 comments on commit 55ad2b5

Please sign in to comment.