From 06bad055e395ab369680532e97187b72e4ac060c Mon Sep 17 00:00:00 2001 From: miteshsavani810 Date: Wed, 2 Aug 2023 16:01:59 +0530 Subject: [PATCH] PREAPPS-7390: revert prev change --- 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 d03db92b..a9e9a9df 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 serverUrlZimbra: string; + public serverUrl: string; public sessionId: any; public soapPathname: string; private agent?: any; @@ -299,7 +299,7 @@ export class ZimbraBatchClient { private userAgent?: {}; constructor(options: ZimbraClientOptions = {}) { - this.serverUrlZimbra = options.serverUrlZimbra !== undefined ? options.serverUrlZimbra : ''; + this.serverUrl = options.serverUrl !== undefined ? options.serverUrl : ''; 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 c2b6d381..a0d00d3f 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; - serverUrlZimbra?: string; + serverUrl?: string; sessionHandler?: SessionHandler; soapPathname?: string; userAgent?: UserAgent;