diff --git a/src/api/api.js b/src/api/api.js index 93ea8f130..58851e8aa 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -55,8 +55,8 @@ class API { response => response, error => { if ( - error.response.status === 403 && - error.config.baseURL === BASE_URL + error.response?.status === 403 && + error.config?.baseURL === BASE_URL ) { if (isAndroid()) { window.plugins.googleplus.disconnect(function(msg) {