Skip to content

Commit

Permalink
fix(82): fix controller parameter type, refs: #82
Browse files Browse the repository at this point in the history
  • Loading branch information
MCatherine1994 committed Apr 30, 2024
1 parent 49129e3 commit 88919a4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class IdimWebserviceController {
@Query('userId') userId: string,
@Query('requesterUserId') requesterUserId: string,
@Query('requesterAccountTypeCode')
requesterAccountTypeCode: string
requesterAccountTypeCode: RequesterAccountTypeCode
): Promise<HttpException | IDIRUserResponse> {
return this.idimWebserviceService.verifyIdirUser(
userId,
Expand All @@ -54,7 +54,7 @@ export class IdimWebserviceController {
@Query('userId') userId: string,
@Query('requesterUserGuid') requesterUserGuid: string,
@Query('requesterAccountTypeCode')
requesterAccountTypeCode: string
requesterAccountTypeCode: RequesterAccountTypeCode
): Promise<HttpException | BCEIDUserResponse> {
return this.idimWebserviceService.verifyBceidUser(
userId,
Expand All @@ -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<HttpException | BCEIDUserResponse> {
return this.idimWebserviceService.verifyBusinessBceidUser(
searchUserBy,
Expand Down

0 comments on commit 88919a4

Please sign in to comment.