mirror of
https://github.com/dadosfera/maestro.git
synced 2026-10-12 20:59:09 +00:00
FIX: better parameter naming
This commit is contained in:
@@ -38,10 +38,13 @@ export class UsersController {
|
||||
})
|
||||
async getAllUsersByCustomerId(
|
||||
@User() user: RequestUser,
|
||||
@Query('s') s: GetAllUsersByCustomerIdReq,
|
||||
@Query('s') searchQuery: GetAllUsersByCustomerIdReq,
|
||||
) {
|
||||
this.logger.info('getAllUsersByCustomerId', { user });
|
||||
return await this.userService.findAllUsersByCustomerId(user.customer_id, s);
|
||||
return await this.userService.findAllUsersByCustomerId(
|
||||
user.customer_id,
|
||||
searchQuery,
|
||||
);
|
||||
}
|
||||
|
||||
@Put('role')
|
||||
|
||||
Reference in New Issue
Block a user