diff --git a/src/modules/user/user.controller.ts b/src/modules/user/user.controller.ts index 5fab8a3..316f440 100644 --- a/src/modules/user/user.controller.ts +++ b/src/modules/user/user.controller.ts @@ -74,12 +74,8 @@ export class UserController { @CurrentUser() user: User, @Body() data: UpdateUserFCMTokenDTO, ): Promise> { - try { - await this.userService.updateUserFCMTokenById(user.id, data.FCMToken); - return { status: 'success', data: null }; - } catch (error) { - return { status: 'error', data: null }; - } + await this.userService.updateUserFCMTokenById(user.id, data.FCMToken); + return { status: 'success', data: null }; } @Put('/profile-image')