Skip to content

Commit 2738fd9

Browse files
committed
Fix typo
1 parent c8eda8b commit 2738fd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/user/user.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export class UserController {
194194
}
195195
const existedUsername = await this.userService.getUserByUsername(dto.username)
196196
if(existedUsername) {
197-
throw new BadRequestException('Username already exist')
197+
throw new BadRequestException('Username already exists')
198198
}
199199
const updatedUser = await this.userService.updateUser(address, dto);
200200
this.logger.log(`User ${address} successfully updated: "${JSON.stringify(updatedUser)}"`)

0 commit comments

Comments
 (0)