From 42d46c79f52de4721662e9f2ecc1fe8860dce1d5 Mon Sep 17 00:00:00 2001 From: miteshsavani810 Date: Wed, 2 Aug 2023 11:33:07 +0530 Subject: [PATCH] PREAPPS-7390: Updated property name --- src/batch-client/index.ts | 4 ++-- src/batch-client/types.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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;