Skip to content

Commit

Permalink
Merge pull request #6798 from reactioncommerce/fix/promotion-schema-bugs
Browse files Browse the repository at this point in the history
fix: description field should be optional
  • Loading branch information
brent-hoover authored Feb 14, 2023
2 parents e6ab079 + b96e479 commit d71b8ac
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/api-plugin-promotions/src/simpleSchemas.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ export const CartPromotionItem = new SimpleSchema({
_id: String,
name: String,
label: String,
description: String,
description: {
type: String,
optional: true
},
triggerType: {
type: String,
allowedValues: ["implicit", "explicit"]
Expand Down

0 comments on commit d71b8ac

Please sign in to comment.