stringify before sign
parent
a40a42af45
commit
ed16af3eef
|
@ -93,7 +93,7 @@ async function sendUpdatesAsync (id) {
|
|||
url: url,
|
||||
headers: {
|
||||
'User-Agent': 'RoE-aggregator',
|
||||
'X-RoE-Signature': hmacSign(user.signing_secret, timestamp, content),
|
||||
'X-RoE-Signature': hmacSign(user.signing_secret, timestamp, JSON.stringify(content)),
|
||||
'X-RoE-Request-Timestamp': timestamp
|
||||
},
|
||||
body: content,
|
||||
|
|
Loading…
Reference in New Issue