Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
Merge pull request #17 from taranisag/adding-response-status
Browse files Browse the repository at this point in the history
Added status to the response object
  • Loading branch information
aviklai committed Aug 14, 2019
2 parents f86559d + 8d2c7c2 commit 0fd331e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/RestCollectorClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ export class RestCollectorClient<E = any, B = any> {
resolve({
data: isArray ? results : results[0],
headers: response.headers,
status: response.status,
});
})
.catch(reject);
Expand Down

0 comments on commit 0fd331e

Please sign in to comment.