Skip to content

Commit

Permalink
[TA-2856] Add return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
LaberionAjvazi committed Feb 14, 2024
1 parent c50d239 commit 45af8f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/http-client-service.v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class HttpClientServiceV2 {
response.data.on("end", () => {
if (response.status !== 200) {
reject(Buffer.concat(data).toString());
return;
}

this.handleResponseStreamData(Buffer.concat(data), resolve, reject);
Expand Down

0 comments on commit 45af8f4

Please sign in to comment.