.
This commit is contained in:
parent
0b27788153
commit
bbd0cccfd6
@ -93,8 +93,8 @@ const extraControllers = {
|
|||||||
if (Event.overflow_eventId && Event.allow_overflow)
|
if (Event.overflow_eventId && Event.allow_overflow)
|
||||||
EventOverflow = await eventService._getEvent(Event.overflow_eventId);
|
EventOverflow = await eventService._getEvent(Event.overflow_eventId);
|
||||||
|
|
||||||
console.log(">>>>>>>>>>>>>>>>>>>>>>>Event.sold_out: ", Event.sold_out));
|
console.log(">>>>>>>>>>>>>>>>>>>>>>>Event.sold_out: ", Event.sold_out);
|
||||||
console.log(">>>>>>>>>>>>>>>>>>>>>>>EventOverflow.sold_out: ", EventOverflow.sold_out));
|
console.log(">>>>>>>>>>>>>>>>>>>>>>>EventOverflow.sold_out: ", EventOverflow.sold_out);
|
||||||
|
|
||||||
result = Object.assign({}, result, {
|
result = Object.assign({}, result, {
|
||||||
allow: (Event.sold_out) ? false : Event.assistants - Event.confirmed >= result.group_size,
|
allow: (Event.sold_out) ? false : Event.assistants - Event.confirmed >= result.group_size,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user