Skip to content
This repository was archived by the owner on Jun 11, 2025. It is now read-only.

Commit 54c6094

Browse files
authored
[ACS-5839] Make contextRoot optional as per documentation (#1628)
* make `contextRoot` optional as per documentation * make `contextRoot` optional as per documentation
1 parent 8cc1d4c commit 54c6094

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/alfrescoApiConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class AlfrescoApiConfig {
2424
hostOauth2?: string;
2525
authType?: string = 'BASIC';
2626
oauth2?: Oauth2Config;
27-
contextRoot = 'alfresco';
27+
contextRoot? = 'alfresco';
2828
tenant?: string = '-default-';
2929
contextRootBpm?: string = 'activiti-app';
3030
domainPrefix?: string = '';

src/api-clients/http-client.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export interface RequestOptions {
3737
}
3838

3939
export interface HttpClientConfig {
40-
contextRoot: string;
40+
contextRoot?: string;
4141
host?: string; // Should be mandatory but can't make it because of AlfrescoApiConfig incompatibility 😕
4242
servicePath?: string; // Should be mandatory but can't make it because of AlfrescoApiConfig incompatibility 😕
4343
}

0 commit comments

Comments
 (0)