fix(medusa): Applying Discounts (with Conditions) on DraftOrders and Carts (#3197)

This commit is contained in:
Adrien de Peretti authored and GitHub committed 2023-02-08 19:01:23 +01:00
1 parent 4d3210bfbb
commit bfa33f444c
14 files changed
+636 -365

No files matched your search

+1 -1
View File
@@ -327,7 +327,7 @@ module.exports = async (connection, data = {}) => {
is_dynamic: true,
is_disabled: false,
starts_at: tenDaysAgo,
ends_at: tenDaysFromToday,
ends_at: yesterday,
valid_duration: "P1D", // one day
})