This commit is contained in:
David Arranz 2024-08-29 12:22:11 +02:00
parent 3da8cb2516
commit 4690b25fe8

View File

@ -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);