Skip to content

Commit

Permalink
fix(remote-server): web-did-doc-router options (#777)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonas-notcat authored Dec 9, 2021
1 parent cbe6f35 commit cc1ec7a
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 @@ -53,7 +53,7 @@ export const WebDidDocRouter = (options: WebDidDocRouterOptions): Router => {
assertionMethod: signingKeyIds,
keyAgreement: keyAgreementKeyIds,
service:
typeof options.services === 'undefined'
typeof options?.services === 'undefined'
? identifier.services
: [...options.services, ...identifier.services],
}
Expand Down

0 comments on commit cc1ec7a

Please sign in to comment.