🔀 Merge branch 'master' into fix-refresh-token-oauth

This commit is contained in:
Jan Oberhauser
2021-09-28 14:19:55 -05:00
13 changed files with 1910 additions and 0 deletions

View File

@@ -415,6 +415,9 @@ async function proxyRequestToAxios(
}
})
.catch((error) => {
// 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
error.error = error.response.data;
error.statusCode = error.response.status;
reject(error);
});