Skip to content

Commit

Permalink
chore: updated incorect RunCollectionClient list status type (#237)
Browse files Browse the repository at this point in the history
* chore: updated incorect RunCollectionClient list status type

* chore: typescript error fix

Co-authored-by: Vlad Frangu <[email protected]>
  • Loading branch information
monkey-denky and vladfrangu authored Mar 2, 2022
1 parent f90e265 commit 5093b8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1570,7 +1570,7 @@ https://docs.apify.com/api/v2#/reference/actors/run-collection/get-list-of-runs
| [options.limit] | <code>number</code> |
| [options.offset] | <code>number</code> |
| [options.desc] | <code>boolean</code> |
| [options.status] | <code>boolean</code> |
| [options.status] | <code>string</code> |


* * *
Expand Down
2 changes: 1 addition & 1 deletion src/interceptors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class InvalidResponseBodyError extends Error {

response: AxiosResponse;

override cause: Error;
declare cause: Error;

constructor(response: AxiosResponse, cause: Error) {
super(`Response body could not be parsed.\nCause:${cause.message}`);
Expand Down

0 comments on commit 5093b8f

Please sign in to comment.