mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
Release 8.1.0 (#11143)
This commit is contained in:
committed by
GitHub
parent
2e20c3da45
commit
de537f0a0d
@@ -662,7 +662,7 @@ export class Oauth2Auth extends AlfrescoApiClient {
|
||||
universalBtoa(stringToConvert: string) {
|
||||
try {
|
||||
return btoa(stringToConvert);
|
||||
} catch (err) {
|
||||
} catch {
|
||||
return Buffer.from(stringToConvert).toString('base64');
|
||||
}
|
||||
}
|
||||
@@ -765,7 +765,7 @@ export class Oauth2Auth extends AlfrescoApiClient {
|
||||
const ticketEntry = await authContentApi.getTicket();
|
||||
this.config.ticketEcm = ticketEntry.entry.id;
|
||||
this.emit('ticket_exchanged');
|
||||
} catch (e) {
|
||||
} catch {
|
||||
// continue regardless of error
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user