Skip to content

📈 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!

Added unchangeable fields to the list (#185)

Yevhenii Kulisidiab58cd2afef9
diff --git a/apps/production/src/user/user.controller.ts b/apps/production/src/user/user.controller.ts
index 8002b00b1..f6808b406 100644
--- a/apps/production/src/user/user.controller.ts
+++ b/apps/production/src/user/user.controller.ts
@@ -585,6 +585,8 @@ export class UserController {
'registeredWithGoogle',
'githubId',
'registeredWithGithub',
+ 'apiKey',
+ 'emailRequests',
])
await this.userService.update(id, userToUpdate)