Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion apps/api-gateway/src/issuance/issuance.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,9 @@ export class IssuanceController {
@Query() previewFileDetails: PreviewFileDetails,
@Res() res: Response
): Promise<Response> {
const { requestId } = query;
let { requestId } = query;
requestId = requestId.trim();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is an interceptor in CREDEBL platform, can you please check if that helps in trim operation.

Copy link
Contributor

@GHkrishna GHkrishna Jul 11, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, we also have a validation pipe for req params and query params


const previewCSVDetails = await this.issueCredentialService.previewCSVDetails(requestId, orgId, previewFileDetails);
const finalResponse: IResponse = {
statusCode: HttpStatus.OK,
Expand Down