mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-13 16:14:07 -08:00
fix(Wise Node): Fix issue when executing a transfer (#3039)
This commit is contained in:
parent
5774dd8885
commit
b90bf4576c
|
@ -70,7 +70,7 @@ export async function wiseApiRequest(
|
||||||
throw new NodeApiError(this.getNode(), error);
|
throw new NodeApiError(this.getNode(), error);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (response.statusCode === 200) {
|
if (response.statusCode >= 200 && response.statusCode < 300) {
|
||||||
return response.body;
|
return response.body;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue