Node.js based forum software built for the modern web
chore: remove formatApiResponse logging
Julian Lamfeda629f821b
diff --git a/src/controllers/helpers.js b/src/controllers/helpers.jsindex e11692867e..a6ade8c73b 100644--- a/src/controllers/helpers.js+++ b/src/controllers/helpers.js@@ -448,10 +448,6 @@ helpers.getHomePageRoutes = async function (uid) {};helpers.formatApiResponse = async (statusCode, res, payload) => {- if (!res.hasOwnProperty('req')) {- console.log('formatApiResponse', statusCode, payload);- }-if (res.req.method === 'HEAD') {return res.sendStatus(statusCode);}