Skip to content

Commit

Permalink
🐛 add support for 204 responses
Browse files Browse the repository at this point in the history
  • Loading branch information
chachan authored and juftin committed Dec 17, 2023
1 parent 6fe4b23 commit 4635113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lunchable/models/transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ def insert_transactions(
url_path=APIConfig.LUNCHMONEY_TRANSACTIONS,
payload=payload,
)
ids: List[int] = response_data["ids"]
ids: List[int] = response_data["ids"] if response_data else []
return ids

def insert_transaction_group(
Expand Down

0 comments on commit 4635113

Please sign in to comment.