mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Fixed wrong method and style a little
This commit is contained in:
@@ -60,7 +60,12 @@ export class BpmUserService {
|
||||
* Call js api to get current user profile picture
|
||||
*/
|
||||
callApiGetProfilePicture() {
|
||||
return this.authService.getAlfrescoApi().activiti.profileApi.getProfile();
|
||||
try {
|
||||
return this.authService.getAlfrescoApi().activiti.profileApi.getProfilePicture();
|
||||
} catch (exc) {
|
||||
console.error(exc);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user