diff --git a/client/pages/new/from/[id].tsx b/client/pages/new/from/[id].tsx index 314ab3fa..b65266b0 100644 --- a/client/pages/new/from/[id].tsx +++ b/client/pages/new/from/[id].tsx @@ -15,7 +15,6 @@ const NewFromExisting = ({ post: Post, parentId: string }) => { - console.log(parentId, post) return ( diff --git a/server/src/lib/middleware/is-admin.ts b/server/src/lib/middleware/is-admin.ts index 3d50ad70..2a3ef20c 100644 --- a/server/src/lib/middleware/is-admin.ts +++ b/server/src/lib/middleware/is-admin.ts @@ -23,7 +23,6 @@ export default function isAdmin( const authHeader = req.headers["authorization"] const token = authHeader && authHeader.split(" ")[1] if (!token) return res.sendStatus(401) - console.log(config) if (!config.enable_admin) return res.sendStatus(404) jwt.verify(token, config.jwt_secret, async (err: any, user: any) => { if (err) return res.sendStatus(403)