[ADF-2196] fixed error message for no permission on copy and move (#2863)

* [ADF-2196] fixed error message for no permission on copy and move

* [ADF-2196] removed fdescribe
This commit is contained in:
Vito
2018-01-23 13:06:10 +01:00
committed by Eugenio Romano
parent 0ea7259988
commit 101701b72e
2 changed files with 3 additions and 2 deletions

View File

@@ -83,7 +83,8 @@ export class ContentNodeDialogService {
return select;
} else {
return Observable.throw({ statusCode: 403 });
let errors = new Error(JSON.stringify({ error: { statusCode: 403 } } ));
return Observable.throw(errors);
}
}