fix: correct slot ID condition in order lifecycle validation

This commit is contained in:
vchikalkin 2025-07-11 16:28:57 +03:00
parent a447f4bf1c
commit 9f6d5fe11c

View File

@ -98,7 +98,7 @@ export default {
time_start: { $lt: time_end },
time_end: { $gt: time_start },
slot: {
id: { $ne: slotId },
id: { $eq: slotId },
},
state: {
$notIn: ['cancelled', 'completed'],