Skip to content

Commit

Permalink
Fix/bugs (#839)
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]>

---------

Signed-off-by: bhavanakarwade <[email protected]>
Signed-off-by: KulkarniShashank <[email protected]>
  • Loading branch information
bhavanakarwade authored and KulkarniShashank committed Sep 12, 2024
1 parent d8ab23d commit 9902fca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions apps/api-gateway/src/issuance/dtos/issuance.dto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,7 @@ export class FileQuery {
}

export class RequestIdQuery {
@ApiPropertyOptional({ required: false })
@IsOptional()
@ApiProperty({ required: true })
@IsString({ message: 'requestId should be string' })
@IsNotEmpty({ message: 'requestId Id is required' })
@Transform(({ value }) => trim(value))
Expand Down
4 changes: 2 additions & 2 deletions apps/api-gateway/src/issuance/issuance.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ async downloadBulkIssuanceCSVTemplate(
@Query(new ValidationPipe({ transform: true })) query: RequestIdQuery,
@Query() previewFileDetails: PreviewFileDetails,
@Res() res: Response
): Promise<object> {
): Promise<Response> {

const { requestId } = query;
const previewCSVDetails = await this.issueCredentialService.previewCSVDetails(requestId, orgId, previewFileDetails);
Expand Down Expand Up @@ -505,7 +505,7 @@ async downloadBulkIssuanceCSVTemplate(
})
async getFileDetailsByFileId(
@Param('orgId') orgId: string,
@Query(new ValidationPipe({ transform: true })) query: FileQuery,
@Param(new ValidationPipe({ transform: true })) query: FileQuery,
@Query() fileParameter: FileParameter,
@Res() res: Response
): Promise<object> {
Expand Down

0 comments on commit 9902fca

Please sign in to comment.