From 66742ad5772f27b965880d524e60e822922be949 Mon Sep 17 00:00:00 2001 From: rasmus Date: Thu, 17 Aug 2023 22:09:43 +0300 Subject: [PATCH] Revert "add logging for wrong token" This reverts commit 21345128051a6c26c722cf23575f6f0ecdc9fe73. --- inventory-app/api.py | 1 - 1 file changed, 1 deletion(-) diff --git a/inventory-app/api.py b/inventory-app/api.py index 98f05bd..c239676 100644 --- a/inventory-app/api.py +++ b/inventory-app/api.py @@ -64,7 +64,6 @@ def get_group_cards(): def view_slack_doorboy(): print(request.data) if request.form.get("token") != const.SLACK_VERIFICATION_TOKEN: - spam("received invalid request from Slack with bad token %s" % (request.form.get("token"))) return "Invalid token was supplied" if request.form.get("channel_id") not in ("C01CWPF5H8W", "CDL9H8Q9W"): return "Invalid channel was supplied"