mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
🔀 Merge branch 'master' into fix-refresh-token-oauth
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user