mirror of
https://github.com/spacebarchat/server.git
synced 2026-04-03 06:45:40 +00:00
Fix HttpSig.sign modifying fetchOpts
This commit is contained in:
@@ -117,7 +117,7 @@ export class HttpSig {
|
||||
`headers="(request-target) host date digest",` +
|
||||
`signature=${sig_b64}`;
|
||||
|
||||
return OrmUtils.mergeDeep(fetchOpts, {
|
||||
return OrmUtils.mergeDeep({}, fetchOpts, {
|
||||
method: "POST",
|
||||
body: JSON.stringify(message),
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user