TP-89230 | error handling
This commit is contained in:
@@ -111,7 +111,7 @@ class AmeyoAdapter implements IAdapter {
|
||||
_onListenForCorsBypassResponse = (payload: GenericObject) => {
|
||||
console.log('universal sdk', payload);
|
||||
if (payload?.data?.requestKey === RequestKeys.AMEYO_LOGIN) {
|
||||
if(payload?.err) {
|
||||
if(payload?.data?.err) {
|
||||
this.callbacks.onLoginFailed(payload?.err);
|
||||
}
|
||||
const sessionId = payload?.data?.response?.userSessionInfo?.sessionId;
|
||||
|
||||
Reference in New Issue
Block a user