diff --git a/apps/api-gateway/src/issuance/issuance.controller.ts b/apps/api-gateway/src/issuance/issuance.controller.ts index 04b520c40..0582d3122 100644 --- a/apps/api-gateway/src/issuance/issuance.controller.ts +++ b/apps/api-gateway/src/issuance/issuance.controller.ts @@ -550,7 +550,7 @@ async downloadBulkIssuanceCSVTemplate( const finalResponse: IResponseType = { statusCode: HttpStatus.CREATED, message: ResponseMessages.issuance.success.bulkIssuance, - data: bulkIssuanceDetails.response + data: bulkIssuanceDetails }; return res.status(HttpStatus.CREATED).json(finalResponse); } diff --git a/apps/api-gateway/src/issuance/issuance.service.ts b/apps/api-gateway/src/issuance/issuance.service.ts index 253b8846f..0e46a394b 100644 --- a/apps/api-gateway/src/issuance/issuance.service.ts +++ b/apps/api-gateway/src/issuance/issuance.service.ts @@ -122,9 +122,9 @@ export class IssuanceService extends BaseService { return this.sendNatsMessage(this.issuanceProxy, 'issue-bulk-credentials', payload); } - async retryBulkCredential(fileId: string, orgId: string, clientDetails: ClientDetails): Promise<{ response: object }> { + async retryBulkCredential(fileId: string, orgId: string, clientDetails: ClientDetails): Promise { const payload = { fileId, orgId, clientDetails }; - return this.sendNats(this.issuanceProxy, 'retry-bulk-credentials', payload); + return this.sendNatsMessage(this.issuanceProxy, 'retry-bulk-credentials', payload); } async _getWebhookUrl(tenantId: string): Promise { diff --git a/apps/issuance/src/issuance.service.ts b/apps/issuance/src/issuance.service.ts index 7180f037b..5236b39b4 100644 --- a/apps/issuance/src/issuance.service.ts +++ b/apps/issuance/src/issuance.service.ts @@ -1465,7 +1465,10 @@ return newCacheKey; orgId, isRetry: true, organizationLogoUrl: clientDetails?.organizationLogoUrl, - platformName: clientDetails?.platformName + platformName: clientDetails?.platformName, + certificate: clientDetails?.certificate, + size: clientDetails?.size, + orientation: clientDetails?.orientation }; this.processInBatches(bulkpayloadRetry, bulkPayloadDetails); } catch (error) {