We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8eda8b commit 2738fd9Copy full SHA for 2738fd9
src/user/user.controller.ts
@@ -194,7 +194,7 @@ export class UserController {
194
}
195
const existedUsername = await this.userService.getUserByUsername(dto.username)
196
if(existedUsername) {
197
- throw new BadRequestException('Username already exist')
+ throw new BadRequestException('Username already exists')
198
199
const updatedUser = await this.userService.updateUser(address, dto);
200
this.logger.log(`User ${address} successfully updated: "${JSON.stringify(updatedUser)}"`)
0 commit comments