mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
fix error handling and "this" context (#1445)
* fix error handling and "this" context * fix typo
This commit is contained in:
@@ -37,7 +37,7 @@ export class DiagramsService {
|
||||
.map((res: any) => {
|
||||
let body = res.json();
|
||||
return body;
|
||||
}).catch(this.handleError);
|
||||
}).catch(err => this.handleError(err));
|
||||
}
|
||||
|
||||
public getHeaders(): Headers {
|
||||
|
Reference in New Issue
Block a user