We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ee0e75 commit 22d5153Copy full SHA for 22d5153
readthedocs/integrations/models.py
@@ -295,7 +295,7 @@ class GenericAPIWebhook(Integration):
295
class Meta:
296
proxy = True
297
298
- def save(self, commit=True):
+ def save(self, **kwargs):
299
"""Ensure model has token data before saving"""
300
try:
301
token = self.provider_data.get('token')
@@ -305,7 +305,7 @@ def save(self, commit=True):
305
if token is None:
306
token = default_token()
307
self.provider_data = {'token': token}
308
- super(GenericAPIWebhook, self).save(commit)
+ super(GenericAPIWebhook, self).save(**kwargs)
309
310
@property
311
def token(self):
0 commit comments