1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 09:24:35 +00:00

fix(http): extend valid responce statuses up to 400

This commit is contained in:
Yury Shkoda
2021-09-30 14:33:33 +03:00
parent a5b5052a5f
commit d418a7e971

View File

@@ -527,7 +527,7 @@ export class RequestClient implements HttpClient {
}
this.httpClient.defaults.validateStatus = (status) =>
status >= 200 && status < 305
status >= 200 && status < 401
}
}