mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
#1370 Remove use of AlfrescoSettingsService
This commit is contained in:
@@ -25,11 +25,11 @@ export class DiagramsService {
|
||||
|
||||
constructor(private authService: AuthService,
|
||||
private http: Http,
|
||||
private alfrescoSettingsService: SettingsService) {
|
||||
private settingsService: SettingsService) {
|
||||
}
|
||||
|
||||
getProcessDefinitionModel(processDefinitionId: string): Observable<any> {
|
||||
let url = `${this.alfrescoSettingsService.getBPMApiBaseUrl()}/app/rest/process-definitions/${processDefinitionId}/model-json`;
|
||||
let url = `${this.settingsService.getBPMApiBaseUrl()}/app/rest/process-definitions/${processDefinitionId}/model-json`;
|
||||
let options = this.getRequestOptions();
|
||||
return this.http
|
||||
.get(url, options)
|
||||
|
Reference in New Issue
Block a user