Skip to content

Commit

Permalink
fix signal and action serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
m1guelpf committed Nov 30, 2023
1 parent 658ff8f commit 8602ee1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ async fn verify_api(
config.app_id
))
.json(&json!({
"signal": msg_id,
"action": chat_id,
"proof": req.proof,
"signal": msg_id.to_string(),
"action": chat_id.to_string(),
"merkle_root": req.merkle_root,
"nullifier_hash": req.nullifier_hash,
"credential_type": req.credential_type,
Expand Down

0 comments on commit 8602ee1

Please sign in to comment.