fix: correct slot ID condition in order lifecycle validation
This commit is contained in:
parent
a447f4bf1c
commit
9f6d5fe11c
@ -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'],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user