remove unneeded assingments
This commit is contained in:
parent
9ed0a6fece
commit
ef22b9fc1b
|
|
@ -1475,11 +1475,9 @@ class WebhookEndpoint(models.Model):
|
|||
|
||||
def process_webhook(self):
|
||||
if self.token:
|
||||
self.token = self.token
|
||||
self.verify = VerificationMethod.TOKEN
|
||||
# TODO make a object-setting
|
||||
if self.secret:
|
||||
self.secret = self.secret
|
||||
self.verify = VerificationMethod.HMAC
|
||||
# TODO make a object-setting
|
||||
return True
|
||||
|
|
|
|||
Loading…
Reference in New Issue