removed consoles

parent 91606c0a
......@@ -52,7 +52,6 @@ export const TrackController = {
publishTrack: async (req: Request, res: Response) => {
try {
const id = req.params.id;
console.log('sdfd');
await TrackModel.findOneAndUpdate({_id: id}, {published: true});
res.send('Published');
} catch (err) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment