🔀 Merge branch 'fix-refresh-tot push origin masterken-oauth'

This commit is contained in:
Jan Oberhauser 2021-09-28 14:20:07 -05:00
commit 382bcd279e

View file

@ -418,6 +418,7 @@ async function proxyRequestToAxios(
// The error-data was made available with request library via "error" but now on // The error-data was made available with request library via "error" but now on
// axios via "response.data" so copy information over to keep it compatible // axios via "response.data" so copy information over to keep it compatible
error.error = error.response.data; error.error = error.response.data;
error.statusCode = error.response.status;
reject(error); reject(error);
}); });
}); });