Skip to content

Commit 2b236c6

Browse files
committed
fix: replace allowed_contexts in ScopeDateStartPrevalidation
1 parent 955beea commit 2b236c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/viur/shop/types/dc_scope.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ class ScopeDateStartPrevalidation(DiscountConditionScope):
313313
"""
314314

315315
allowed_contexts = [
316-
DiscountValidationContext.AUTOMATICALLY_LIVE,
316+
DiscountValidationContext.AUTOMATICALLY_PREVALIDATE,
317317
]
318318

319319
def precondition(self) -> bool:

0 commit comments

Comments
 (0)