diff --git a/src/abstractions/api.service.ts b/src/abstractions/api.service.ts index d3e9bcba7b..cffb70f279 100644 --- a/src/abstractions/api.service.ts +++ b/src/abstractions/api.service.ts @@ -24,6 +24,8 @@ import { AttachmentView } from '../models/view/attachmentView'; export abstract class ApiService { urlsSet: boolean; + apiBaseUrl: string; + identityBaseUrl: string; setUrls: (urls: EnvironmentUrls) => void; postIdentityToken: (request: TokenRequest) => Promise; diff --git a/src/services/api.service.ts b/src/services/api.service.ts index 2b7218d59c..0e7fe20833 100644 --- a/src/services/api.service.ts +++ b/src/services/api.service.ts @@ -29,9 +29,9 @@ import { SyncResponse } from '../models/response/syncResponse'; export class ApiService implements ApiServiceAbstraction { urlsSet: boolean = false; + apiBaseUrl: string; + identityBaseUrl: string; - private apiBaseUrl: string; - private identityBaseUrl: string; private deviceType: string; private isWebClient = false; private usingBaseUrl = false;