Skip to content

Commit

Permalink
Fix/bugs (#875)
Browse files Browse the repository at this point in the history
* fix: send email verification issue

Signed-off-by: bhavanakarwade <[email protected]>

* refcator: schema endorsement flow

Signed-off-by: bhavanakarwade <[email protected]>

* fix: resolved sonar lint issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: worked on sonarcloud issues

Signed-off-by: bhavanakarwade <[email protected]>

* fix: delete organization bugs

Signed-off-by: bhavanakarwade <[email protected]>

* fix: cred def id space fixes

Signed-off-by: bhavanakarwade <[email protected]>

* fix: create organization bug

Signed-off-by: bhavanakarwade <[email protected]>

* fix: pagination issue for preview file

Signed-off-by: bhavanakarwade <[email protected]>

* fix: pagination issue

Signed-off-by: bhavanakarwade <[email protected]>

* fix: imageurl issue in verification

Signed-off-by: bhavanakarwade <[email protected]>

* fix: made request if parameter optional

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: added templateId mapping in file upload functionality

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: interface types

Signed-off-by: bhavanakarwade <[email protected]>

* feat: implemented prettyvc while bulk issuance

Signed-off-by: bhavanakarwade <[email protected]>

* fix: issuance process

Signed-off-by: bhavanakarwade <[email protected]>

* wip: pretty for bulk issuance

Signed-off-by: bhavanakarwade <[email protected]>

* wip: made autoacceptcredential flag always

Signed-off-by: bhavanakarwade <[email protected]>

* fix: datatype issue

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: added agent url

Signed-off-by: bhavanakarwade <[email protected]>

* refactor: added logs to test bulk issuance payload

Signed-off-by: bhavanakarwade <[email protected]>

---------

Signed-off-by: bhavanakarwade <[email protected]>
  • Loading branch information
bhavanakarwade authored Jul 26, 2024
1 parent 7643d7e commit 0beba9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/issuance/src/issuance.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,7 @@ async sendEmailForCredentialOffer(sendEmailCredentialOffer: SendEmailCredentialO
imageUrl: organisation?.logoUrl || outOfBandCredential?.imageUrl
};

this.logger.log(`outOfBandIssuancePayload ::: ${JSON.stringify(outOfBandIssuancePayload)}`);
const payloadAttributes = outOfBandIssuancePayload?.credentialFormats?.jsonld?.credential?.credentialSubject;

// eslint-disable-next-line @typescript-eslint/no-unused-vars
Expand Down
2 changes: 1 addition & 1 deletion libs/common/src/cast.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ export const validateEmail = (email: string): boolean => {
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/explicit-function-return-type
export const createOobJsonldIssuancePayload = (JsonldCredentialDetails: IJsonldCredential, prettyVc: IPrettyVc) => {
const {credentialData, orgDid, orgId, schemaLedgerId, schemaName} = JsonldCredentialDetails;
const credentialSubject = { 'id': '' };
const credentialSubject = { };

for (const key in credentialData) {
if (credentialData.hasOwnProperty(key) && TemplateIdentifier.EMAIL_COLUMN !== key) {
Expand Down

0 comments on commit 0beba9e

Please sign in to comment.