Skip to content

Commit

Permalink
fix(remote-server): fix error when resolving local did:web (#905)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceanis authored May 30, 2022
1 parent 2619d39 commit 782f64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/remote-server/src/web-did-doc-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const WebDidDocRouter = (options: WebDidDocRouterOptions): Router => {
authentication: signingKeyIds,
assertionMethod: signingKeyIds,
keyAgreement: keyAgreementKeyIds,
service: typeof options.services === 'undefined' ? identifier.services : [...options.services, ...identifier.services],
service: [...(options?.services || []), ...(identifier?.services || [])],
}

return didDoc
Expand Down

0 comments on commit 782f64a

Please sign in to comment.