diff --git a/src/batch-client/index.ts b/src/batch-client/index.ts index a9e9a9df..d03db92b 100644 --- a/src/batch-client/index.ts +++ b/src/batch-client/index.ts @@ -285,7 +285,7 @@ export class ZimbraBatchClient { public localStoreClient: any; public notifier: Notifier; public origin: string; - public serverUrl: string; + public serverUrlZimbra: string; public sessionId: any; public soapPathname: string; private agent?: any; @@ -299,7 +299,7 @@ export class ZimbraBatchClient { private userAgent?: {}; constructor(options: ZimbraClientOptions = {}) { - this.serverUrl = options.serverUrl !== undefined ? options.serverUrl : ''; + this.serverUrlZimbra = options.serverUrlZimbra !== undefined ? options.serverUrlZimbra : ''; this.sessionHandler = options.sessionHandler; this.userAgent = options.userAgent; this.jwtToken = options.jwtToken; diff --git a/src/batch-client/types.ts b/src/batch-client/types.ts index a0d00d3f..c2b6d381 100644 --- a/src/batch-client/types.ts +++ b/src/batch-client/types.ts @@ -68,7 +68,7 @@ export interface ZimbraClientOptions { jwtToken?: string; localStoreClient?: any; notificationHandler?: NotificationHandler; - serverUrl?: string; + serverUrlZimbra?: string; sessionHandler?: SessionHandler; soapPathname?: string; userAgent?: UserAgent;