.
This commit is contained in:
parent
3da8cb2516
commit
4690b25fe8
@ -71,7 +71,6 @@ const extraControllers = {
|
||||
allow: false,
|
||||
error: undefined,
|
||||
};
|
||||
console.log(">>>>>>>>>>>>>>>>>>>>>>>checkCapacity", result);
|
||||
|
||||
if (!result.eventId) {
|
||||
return handleResultResponse(null, null, params, res, httpStatus.BAD_REQUEST);
|
||||
@ -105,6 +104,8 @@ const extraControllers = {
|
||||
});
|
||||
}
|
||||
|
||||
console.log(">>>>>>>>>>>>>>>>>>>>>>>checkCapacity", result);
|
||||
|
||||
return handleResultResponse(result, null, params, res, result === null ? httpStatus.NOT_FOUND : httpStatus.OK);
|
||||
} catch (error) {
|
||||
return handleErrorResponse(MODULE_NAME, "allowCapacity", error, res);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user