Private
Public Access
1
0

fix and now passing tests

This commit is contained in:
2023-07-18 22:34:38 +02:00
parent c2324f1267
commit a897a496c2
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
from .integrations import SyncIntegration, NoTokenError, create_or_update_syncrecord
from rowers.models import User, Rower, Workout, TombStone
from rowers.models import User, Rower, Workout, TombStone, SyncRecord
from django.db.utils import IntegrityError
from rowers import mytypes
@@ -91,7 +91,7 @@ class NKIntegration(SyncIntegration):
_ = self.open()
r = self.rower
record = create_or_update_syncrecord(rower, None, nkid=id)
record = create_or_update_syncrecord(r, None, nkid=id)
before = kwargs.get('before',0)
after = kwargs.get('after',0)

Binary file not shown.