Skip to content

Commit

Permalink
fix: add plan prefix to PriceId
Browse files Browse the repository at this point in the history
  • Loading branch information
arlyon committed Jan 10, 2024
1 parent 8032120 commit 1b55a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ids.rs
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ def_id!(
def_id!(PersonId, "person_");
def_id!(PlanId: String); // N.B. A plan id can be user-provided so can be any arbitrary string
def_id!(PlatformTaxFeeId, "ptf");
def_id!(PriceId, "price_");
def_id!(PriceId, "price_" | "plan_"); // see #470
def_id!(ProductId: String); // N.B. A product id can be user-provided so can be any arbitrary string
def_id!(PromotionCodeId, "promo_");
def_id!(QuoteId, "qt_");
Expand Down

0 comments on commit 1b55a4b

Please sign in to comment.