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!

typo fix

Blue Mouse2462817b941f
diff --git a/backend/apps/cloud/src/user/user.controller.ts b/backend/apps/cloud/src/user/user.controller.ts
index 340b3dab0..5e0cb689a 100644
--- a/backend/apps/cloud/src/user/user.controller.ts
+++ b/backend/apps/cloud/src/user/user.controller.ts
@@ -113,17 +113,17 @@ export class UserController {
},
relations: ['project'],
}),
- this.userService.getManagableOrganisations(uid),
+ this.userService.getManageableOrganisations(uid),
this.userService.findOne({ where: { id: uid } }),
])
const sanitizedUser = this.userService.omitSensitiveData(
user,
) as Partial<User> & {
- managableOrganisations: Organisation[]
+ manageableOrganisations: Organisation[]
}
sanitizedUser.sharedProjects = sharedProjects
- sanitizedUser.managableOrganisations = manageableOrganisations
+ sanitizedUser.manageableOrganisations = manageableOrganisations
return sanitizedUser
}
diff --git a/backend/apps/cloud/src/user/user.service.ts b/backend/apps/cloud/src/user/user.service.ts
index b655a68e9..0140841aa 100644
--- a/backend/apps/cloud/src/user/user.service.ts
+++ b/backend/apps/cloud/src/user/user.service.ts
@@ -138,7 +138,7 @@ export class UserService {
return this.usersRepository.update({ id }, update)
}
- async getManagableOrganisations(userId: string) {
+ async getManageableOrganisations(userId: string) {
return this.organisationService.find({
where: {
members: {