Skip to content

Commit

Permalink
fix issuance
Browse files Browse the repository at this point in the history
  • Loading branch information
eike-hass committed Jun 25, 2024
1 parent 4618dfe commit 053305c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion backend/src/webapp/webapp.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,13 @@ export class WebAppService {
: CitizenCredentialConfig.template;

credential_template.credentialSubject.id = user.did;
credential_template = { ...credential_template, ...credential.data };
credential_template = {
...credential_template,
credentialSubject: {
...credential_template.credentialSubject,
...credential.data,
},
};

this.logger.debug('requesting', credential_template);
return this.identityService.create(
Expand Down

0 comments on commit 053305c

Please sign in to comment.