mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix wrong types which prevents other apps to build upon local copies of it (#4335)
This commit is contained in:
committed by
Eugenio Romano
parent
2cbc5914b0
commit
3a93e07366
@@ -63,7 +63,7 @@ export class PeopleProcessService {
|
||||
*/
|
||||
involveUserWithTask(taskId: string, idToInvolve: string): Observable<UserProcessModel[]> {
|
||||
let node = {userId: idToInvolve};
|
||||
return from<UserProcessModel[]>(this.involveUserToTaskApi(taskId, node))
|
||||
return from(this.involveUserToTaskApi(taskId, node))
|
||||
.pipe(
|
||||
catchError((err) => this.handleError(err))
|
||||
);
|
||||
@@ -77,7 +77,7 @@ export class PeopleProcessService {
|
||||
*/
|
||||
removeInvolvedUser(taskId: string, idToRemove: string): Observable<UserProcessModel[]> {
|
||||
let node = {userId: idToRemove};
|
||||
return from<UserProcessModel[]>(this.removeInvolvedUserFromTaskApi(taskId, node))
|
||||
return from(this.removeInvolvedUserFromTaskApi(taskId, node))
|
||||
.pipe(
|
||||
catchError((err) => this.handleError(err))
|
||||
);
|
||||
|
Reference in New Issue
Block a user