remove todo that is not fitting any more

This commit is contained in:
Matthias 2022-05-15 17:55:05 +02:00
parent 432fd9b8e6
commit 8b9c80d2a4
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -1802,10 +1802,8 @@ class WebhookEndpoint(models.Model):
def process_webhook(self):
if self.token:
self.verify = VerificationMethod.TOKEN
# TODO make a object-setting
if self.secret:
self.verify = VerificationMethod.HMAC
# TODO make a object-setting
return True
def validate_token(self, payload, headers, request):