Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
saadeghi committed Feb 7, 2024
1 parent 1433d22 commit a962628
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/docs/src/routes/store/discounts.xml/+server.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01
discount.attributes.status === "published" &&
discount.attributes.is_limited_to_products === false &&
discount.attributes.is_limited_redemptions === false &&
discount.attributes.expires_at !== null &&
(discount.attributes.starts_at === null ||
new Date(discount.attributes.starts_at) < new Date())
)
Expand Down

0 comments on commit a962628

Please sign in to comment.