fix(Wise Node): Fix issue when executing a transfer (#3039)

This commit is contained in:
Valentin Mocanu 2022-03-25 22:38:37 +02:00 committed by GitHub
parent 5774dd8885
commit b90bf4576c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
} }