diff options
author | 2018-02-11 17:25:41 +0000 | |
---|---|---|
committer | 2018-02-11 17:25:41 +0000 | |
commit | 7fa1e3c84d630d09542265e59996ebd67f9e59b9 (patch) | |
tree | f3ba9a33aebbce6883265c08ec2115cdf3a2a4fc /pysite | |
parent | Set server name for app config (diff) |
Remove key verification webhook message
Diffstat (limited to 'pysite')
-rw-r--r-- | pysite/views/api/asana.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/pysite/views/api/asana.py b/pysite/views/api/asana.py index 11f38ea7..4424367b 100644 --- a/pysite/views/api/asana.py +++ b/pysite/views/api/asana.py @@ -23,12 +23,6 @@ class IndexView(APIView): def post(self, asana_key): if asana_key != ASANA_KEY: - self.send_webhook( - title="Asana", - description=f"Key verification failed\nExpected: `{ASANA_KEY}`\nGot: `{asana_key}`", - color=COLOUR_RED - ) - return self.error(ErrorCodes.unauthorized) if "X-Hook-Secret" in request.headers: # Confirm to Asana that we would like to make this hook |