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