mirror of
https://github.com/stack-auth/stack.git
synced 2026-07-20 21:29:36 +08:00
The spec requires exactly one of product_id or product (inline definition). Added validation to both sync and async grant_product methods to raise ValueError if both or neither are provided, matching the existing _resolve_customer_path pattern for customer identifiers.