Skip to content

Commit

Permalink
refactor: v2 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
NotPeopling2day committed Dec 12, 2023
1 parent 0364e5f commit f827354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ape_tenderly/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_forks(self) -> List[Fork]:
raise TenderlyClientError(f"Error processing request: {response.text}")

if forks := response.json():
return Fork.model_validate(forks)
return [Fork.model_validate_json(x) for x in forks]

else:
return []
Expand Down

0 comments on commit f827354

Please sign in to comment.