From 3d149c8d706f3d4df3c50a39f638b8ae7047738e Mon Sep 17 00:00:00 2001 From: Khaybee Date: Sat, 1 Mar 2025 00:51:55 +0100 Subject: [PATCH] fix: fixed conflict from merge --- src/modules/auth/auth.service.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/modules/auth/auth.service.ts b/src/modules/auth/auth.service.ts index cc13c1719..05f153123 100644 --- a/src/modules/auth/auth.service.ts +++ b/src/modules/auth/auth.service.ts @@ -73,11 +73,8 @@ export default class AuthenticationService { const newOrganisation = await this.organisationService.create(createOrganisationPayload); - const userOrganisations = await this.organisationService.getAllUserOrganisations(user.id); - + const userOrganisations = await this.organisationService.getAllUserOrganisations(user.id, 1, 10); const isSuperAdmin = userOrganisations.map(instance => instance.user_role).includes('super-admin'); - const userOranisations = await this.organisationService.getAllUserOrganisations(user.id, 1, 10); - const token = (await this.otpService.createOtp(user.id, manager)).token;