mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
migrate cloud components [ci:force]
This commit is contained in:
@@ -48,7 +48,7 @@ export class ProcessCloudService extends BaseCloudService implements ProcessClou
|
||||
})
|
||||
);
|
||||
} else {
|
||||
return throwError('AppName/ProcessInstanceId not configured');
|
||||
return throwError(() => new Error('AppName/ProcessInstanceId not configured'));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ export class ProcessCloudService extends BaseCloudService implements ProcessClou
|
||||
|
||||
return this.get(url).pipe(map((res: any) => res.list.entries.map((processDefs) => new ProcessDefinitionCloud(processDefs.entry))));
|
||||
} else {
|
||||
return throwError('AppName not configured');
|
||||
return throwError(() => new Error('AppName not configured'));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ export class ProcessCloudService extends BaseCloudService implements ProcessClou
|
||||
|
||||
return this.get(url).pipe(map((appEntities: ApplicationVersionResponseModel) => appEntities.list.entries));
|
||||
} else {
|
||||
return throwError('AppName not configured');
|
||||
return throwError(() => new Error('AppName not configured'));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -101,7 +101,7 @@ export class ProcessCloudService extends BaseCloudService implements ProcessClou
|
||||
})
|
||||
);
|
||||
} else {
|
||||
return throwError('App name and process id not configured');
|
||||
return throwError(() => new Error('App name and process id not configured'));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,8 +22,6 @@ export * from './components/edit-task-filters/edit-service-task-filter-cloud.com
|
||||
export * from './components/task-filter-dialog/task-filter-dialog-cloud.component';
|
||||
export * from './components/task-assignment-filter/task-assignment-filter.component';
|
||||
export * from './models/filter-cloud.model';
|
||||
|
||||
export * from './services/task-filter-cloud.service';
|
||||
export * from './services/service-task-filter-cloud.service';
|
||||
|
||||
export * from './task-filters-cloud.module';
|
||||
|
||||
Reference in New Issue
Block a user