Fix bug
This commit is contained in:
parent
d9a5e06b5b
commit
142d59be85
4 changed files with 29 additions and 18 deletions
|
|
@ -67,7 +67,7 @@ export default async (user: ILocalUser, url: string, object: any) => {
|
|||
|
||||
sign(req, {
|
||||
authorizationHeaderName: 'Signature',
|
||||
key: keypair.keyPem,
|
||||
key: keypair.privateKey,
|
||||
keyId: `${config.url}/users/${user.id}/publickey`,
|
||||
headers: ['date', 'host', 'digest']
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue