mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
chore: remove formatApiResponse logging
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user