Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
[ACS-5839] Make contextRoot optional as per documentation (#1628)
Browse files Browse the repository at this point in the history
* make `contextRoot` optional as per documentation

* make `contextRoot` optional as per documentation
  • Loading branch information
DenysVuika committed Aug 21, 2023
1 parent 8cc1d4c commit 54c6094
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/alfrescoApiConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class AlfrescoApiConfig {
hostOauth2?: string;
authType?: string = 'BASIC';
oauth2?: Oauth2Config;
contextRoot = 'alfresco';
contextRoot? = 'alfresco';
tenant?: string = '-default-';
contextRootBpm?: string = 'activiti-app';
domainPrefix?: string = '';
Expand Down
2 changes: 1 addition & 1 deletion src/api-clients/http-client.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface RequestOptions {
}

export interface HttpClientConfig {
contextRoot: string;
contextRoot?: string;
host?: string; // Should be mandatory but can't make it because of AlfrescoApiConfig incompatibility 😕
servicePath?: string; // Should be mandatory but can't make it because of AlfrescoApiConfig incompatibility 😕
}
Expand Down

0 comments on commit 54c6094

Please sign in to comment.