Skip to content

Commit

Permalink
Adjust format of service IDs to match latest spec consensus.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrizagidulin committed Feb 16, 2019
1 parent a5eb6fc commit 8fcbc6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/VeresOneDidDoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ class VeresOneDidDoc {
throw new Error('Invalid service name.');
}

return this.id + ';service=' + encodeURIComponent(serviceName);
return this.id + '#' + encodeURIComponent(serviceName);
}

/**
Expand Down

0 comments on commit 8fcbc6d

Please sign in to comment.