Skip to content

Commit

Permalink
update requested change
Browse files Browse the repository at this point in the history
  • Loading branch information
martinvibes committed Oct 30, 2024
1 parent 06ef616 commit 7349015
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion web_app/contract_tools/airdrop.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,5 @@ def _validate_response(data: List[dict]) -> AirdropResponseModel:
recipient=item["recipient"]
)
validated_items.append(validated_item)
return AirdropResponseModel(airdrops=validated_items)
return AirdropResponseModel(airdrops=validated_items)

3 changes: 2 additions & 1 deletion web_app/tests/test_zklend_airdrop.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,5 @@ async def test_underlying_contract_id_formatting(self, zklend_airdrop):

await zklend_airdrop.get_contract_airdrop(contract_id)

zklend_airdrop.api.fetch.assert_called_once_with(expected_underlying_id)
zklend_airdrop.api.fetch.assert_called_once_with(expected_underlying_id)

0 comments on commit 7349015

Please sign in to comment.