Browse Source

Remove spammy console.logs

Sven Slootweg 10 months ago
parent
commit
5912b79024
1 changed files with 0 additions and 4 deletions
  1. 0 4
      bin/matrix-rooms

+ 0 - 4
bin/matrix-rooms

@ -47,8 +47,6 @@ router.get("/", (req, res) => {
47 47
router.get("/show-rooms", (req, res) => {
48 48
	validateValue(req.query, {
49 49
		hostname: [ required, isString, (string) => {
50
			console.log(string.length);
51
			
52 50
			if (string.length === 0) {
53 51
				throw new ValidationError("May not be empty");
54 52
			}
@ -69,8 +67,6 @@ router.get("/show-rooms", (req, res) => {
69 67
			return bhttp.get(roomsUrl);
70 68
		}).then((response) => {
71 69
			if (response.statusCode === 200) {
72
				console.log(response.body);
73
				// next_batch
74 70
				res.render("rooms", {
75 71
					rooms: response.body.chunk,
76 72
					nextBatchUrl: (response.body.next_batch != null)