Browse Source

Remove spammy console.logs

master
Sven Slootweg 2 years ago
parent
commit
5912b79024
  1. 4
      bin/matrix-rooms

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

Loading…
Cancel
Save