Skip to content

Commit

Permalink
PREAPPS-7390: Introduced serverUrl property
Browse files Browse the repository at this point in the history
  • Loading branch information
miteshsavani810 committed Aug 1, 2023
1 parent 723dffe commit 56d3353
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/batch-client/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ export class ZimbraBatchClient {
public localStoreClient: any;
public notifier: Notifier;
public origin: string;
public serverUrl: string;
public sessionId: any;
public soapPathname: string;
private agent?: any;
Expand All @@ -298,6 +299,7 @@ export class ZimbraBatchClient {
private userAgent?: {};

constructor(options: ZimbraClientOptions = {}) {
this.serverUrl = options.serverUrl !== undefined ? options.serverUrl : '';
this.sessionHandler = options.sessionHandler;
this.userAgent = options.userAgent;
this.jwtToken = options.jwtToken;
Expand Down
1 change: 1 addition & 0 deletions src/batch-client/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export interface ZimbraClientOptions {
jwtToken?: string;
localStoreClient?: any;
notificationHandler?: NotificationHandler;
serverUrl?: string;
sessionHandler?: SessionHandler;
soapPathname?: string;
userAgent?: UserAgent;
Expand Down

0 comments on commit 56d3353

Please sign in to comment.