From 88919a487afd161102238ac1ec87ae79de76934d Mon Sep 17 00:00:00 2001 From: catherine meng Date: Tue, 30 Apr 2024 12:32:00 -0700 Subject: [PATCH] fix(82): fix controller parameter type, refs: #82 --- .../modules/idim-webservice/idim-webservice.controller.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/src/modules/idim-webservice/idim-webservice.controller.ts b/backend/src/modules/idim-webservice/idim-webservice.controller.ts index 549e650..bcd0819 100644 --- a/backend/src/modules/idim-webservice/idim-webservice.controller.ts +++ b/backend/src/modules/idim-webservice/idim-webservice.controller.ts @@ -35,7 +35,7 @@ export class IdimWebserviceController { @Query('userId') userId: string, @Query('requesterUserId') requesterUserId: string, @Query('requesterAccountTypeCode') - requesterAccountTypeCode: string + requesterAccountTypeCode: RequesterAccountTypeCode ): Promise { return this.idimWebserviceService.verifyIdirUser( userId, @@ -54,7 +54,7 @@ export class IdimWebserviceController { @Query('userId') userId: string, @Query('requesterUserGuid') requesterUserGuid: string, @Query('requesterAccountTypeCode') - requesterAccountTypeCode: string + requesterAccountTypeCode: RequesterAccountTypeCode ): Promise { return this.idimWebserviceService.verifyBceidUser( userId, @@ -71,11 +71,11 @@ export class IdimWebserviceController { }) @ApiQuery({ name: 'searchUserBy', enum: SearchUserParameterType }) async verifyBusinessBceidUser( - @Query('searchUserBy') searchUserBy: string, + @Query('searchUserBy') searchUserBy: SearchUserParameterType, @Query('searchValue') searchValue: string, @Query('requesterUserGuid') requesterUserGuid: string, @Query('requesterAccountTypeCode') - requesterAccountTypeCode: string + requesterAccountTypeCode: RequesterAccountTypeCode ): Promise { return this.idimWebserviceService.verifyBusinessBceidUser( searchUserBy,