Skip to content

Commit

Permalink
Fix nitpick commit, because coderabbit had a good point
Browse files Browse the repository at this point in the history
  • Loading branch information
velaco committed Dec 29, 2024
1 parent 3e12e94 commit 6823ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/shop/transactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def process_cart(member_id: int, cart: List[CartItem]) -> Tuple[Decimal, List[Tr
if member is None:
raise NotFound(message=f"Could not find member with id {member_id}.")
price_level = get_price_level_for_member(member)
member_has_base_membership = "membership" in [span.type for span in member.spans]
member_has_base_membership = Span.MEMBERSHIP in [span.type for span in member.spans]

with localcontext() as ctx:
ctx.clear_flags()
Expand Down

0 comments on commit 6823ef9

Please sign in to comment.