📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
updated endpoint name to match user interface variable
Blue Mouse9e22ebc217ba
diff --git a/apps/production/src/user/user.controller.ts b/apps/production/src/user/user.controller.tsindex dd93c40cc..4411c5db3 100644--- a/apps/production/src/user/user.controller.ts+++ b/apps/production/src/user/user.controller.ts@@ -176,19 +176,19 @@ export class UserController {return null}- @Post('/recieve-login-notification')+ @Post('/recieve-login-notifications')@UseGuards(JwtAccessTokenGuard, RolesGuard)@Roles(UserType.CUSTOMER, UserType.ADMIN)- async recieveLoginNotification(+ async receiveLoginNotifications(@CurrentUserId() userId: string,- @Body('recieveLoginNotification') recieveLoginNotification: boolean,+ @Body('receiveLoginNotifications') receiveLoginNotifications: boolean,): Promise<User> {this.logger.log(- { userId, recieveLoginNotification },- 'POST /user/recieve-login-notification',+ { userId, receiveLoginNotifications },+ 'POST /user/recieve-login-notifications',)- return this.userService.update(userId, { recieveLoginNotification })+ return this.userService.update(userId, { receiveLoginNotifications })}@Post('/api-key')