Skip to content

Commit

Permalink
fix: retry send to financial manager by basket id
Browse files Browse the repository at this point in the history
fixes #10
  • Loading branch information
igobranco committed Mar 21, 2024
1 parent 5162675 commit 27ceb7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def handle(self, *args, **kwargs):

basket_id = kwargs["basket_id"]
if basket_id:
basket = Basket.objects.filter(id=basket_id)
basket = Basket.objects.get(id=basket_id)
if not basket:
raise ValueError(f"No basket found for basket_id={basket_id}")
bti = BasketTransactionIntegration.get_by_basket(basket)
Expand Down

0 comments on commit 27ceb7c

Please sign in to comment.