Remove print statement

This commit is contained in:
Ajay Ramachandran 2021-06-23 20:11:11 -04:00
parent 42da1b6c23
commit 15b3cb20b3

View file

@ -12,7 +12,6 @@ import { Logger } from '../utils/logger';
export function addUnlistedVideo(req: Request, res: Response) { export function addUnlistedVideo(req: Request, res: Response) {
const videoID = req.body.videoID; const videoID = req.body.videoID;
console.log(req.body)
if (videoID === undefined || typeof(videoID) !== "string" || videoID.length !== 11) { if (videoID === undefined || typeof(videoID) !== "string" || videoID.length !== 11) {
res.status(400).send("Invalid parameters"); res.status(400).send("Invalid parameters");