Remove spammy console.logs

master
Sven Slootweg 5 years ago
parent efb459d44d
commit 5912b79024

@ -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)

Loading…
Cancel
Save