Skip to content

Commit

Permalink
SED-2927 custom-root-context-is-not-used-in-query-to-retain-executions (
Browse files Browse the repository at this point in the history
#759)

SED-2927 Solved rest calls to be relative in order to support custom context root

Co-authored-by: Tim Rasim <2033832+neogucky@users.noreply.github.com>
  • Loading branch information
2 people authored and david-stephan committed Mar 8, 2024
1 parent 0142299 commit ef24a79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class AugmentedAutomationPackagesService extends AutomationPackagesServic
const body = new FormData();
body.set('file', file);

const request$ = this._http.request('POST', `/rest/automation-packages`, {
const request$ = this._http.request('POST', `rest/automation-packages`, {
body,
headers: {
enctype: 'multipart/form-data',
Expand All @@ -89,7 +89,7 @@ export class AugmentedAutomationPackagesService extends AutomationPackagesServic
const body = new FormData();
body.set('file', file);

const request$ = this._http.request('PUT', `/rest/automation-packages/${id}?async=true`, {
const request$ = this._http.request('PUT', `rest/automation-packages/${id}?async=true`, {
body,
headers: {
enctype: 'multipart/form-data',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ export class AugmentedQuotaManagerService extends QuotaManagerService {
private _httpClient = inject(HttpClient);

override getQuotaManagerStatus(): Observable<string> {
return this._httpClient.get('/rest/quotamanager/status', { responseType: 'text' });
return this._httpClient.get('rest/quotamanager/status', { responseType: 'text' });
}
}

0 comments on commit ef24a79

Please sign in to comment.