From 5912b79024cba33ee7e291f325d0286b8304af99 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sat, 31 Aug 2019 16:18:18 +0200 Subject: [PATCH] Remove spammy console.logs --- bin/matrix-rooms | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bin/matrix-rooms b/bin/matrix-rooms index 06be939..ef952b2 100755 --- a/bin/matrix-rooms +++ b/bin/matrix-rooms @@ -47,8 +47,6 @@ router.get("/", (req, res) => { router.get("/show-rooms", (req, res) => { validateValue(req.query, { hostname: [ required, isString, (string) => { - console.log(string.length); - if (string.length === 0) { throw new ValidationError("May not be empty"); } @@ -69,8 +67,6 @@ router.get("/show-rooms", (req, res) => { return bhttp.get(roomsUrl); }).then((response) => { if (response.statusCode === 200) { - console.log(response.body); - // next_batch res.render("rooms", { rooms: response.body.chunk, nextBatchUrl: (response.body.next_batch != null)