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

This commit is contained in:
Adrien de Peretti
2023-02-08 19:01:23 +01:00
committed by GitHub
parent 4d3210bfbb
commit bfa33f444c
14 changed files with 636 additions and 365 deletions
+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
})