From dcc0a556a232c5529aaa25c1722d70d73f1a2dc1 Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Tue, 18 Oct 2022 21:39:35 +0200 Subject: [PATCH] [SM-245] Change register and prelogin to always use api (#3553) --- libs/common/src/services/api.service.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/libs/common/src/services/api.service.ts b/libs/common/src/services/api.service.ts index 938cd1b9e6..a4d3a0fb54 100644 --- a/libs/common/src/services/api.service.ts +++ b/libs/common/src/services/api.service.ts @@ -311,9 +311,7 @@ export class ApiService implements ApiServiceAbstraction { request, false, true, - this.platformUtilsService.isDev() - ? this.environmentService.getIdentityUrl() - : this.environmentService.getApiUrl() + this.environmentService.getIdentityUrl() ); return new PreloginResponse(r); } @@ -358,9 +356,7 @@ export class ApiService implements ApiServiceAbstraction { request, false, true, - this.platformUtilsService.isDev() - ? this.environmentService.getIdentityUrl() - : this.environmentService.getApiUrl() + this.environmentService.getIdentityUrl() ); return new RegisterResponse(r); }