Skip to content

Commit 22d5153

Browse files
committed
Re-fix sloppy fix
1 parent 8ee0e75 commit 22d5153

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readthedocs/integrations/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ class GenericAPIWebhook(Integration):
295295
class Meta:
296296
proxy = True
297297

298-
def save(self, commit=True):
298+
def save(self, **kwargs):
299299
"""Ensure model has token data before saving"""
300300
try:
301301
token = self.provider_data.get('token')
@@ -305,7 +305,7 @@ def save(self, commit=True):
305305
if token is None:
306306
token = default_token()
307307
self.provider_data = {'token': token}
308-
super(GenericAPIWebhook, self).save(commit)
308+
super(GenericAPIWebhook, self).save(**kwargs)
309309

310310
@property
311311
def token(self):

0 commit comments

Comments
 (0)