Private
Public Access
1
0

adding a test

This commit is contained in:
2023-07-11 08:08:07 +02:00
parent 94f341b777
commit 6a5b52e8c2
4 changed files with 12 additions and 5 deletions

View File

@@ -390,13 +390,15 @@ class C2Integration(SyncIntegration):
# this part to get_workout_list
workouts = self.get_workout_list(page=page)
count = 0
for workout in workouts:
c2id = workout['id']
if workout['new'] == 'NEW':
self.get_workout(c2id)
count+= 1
return 1
return count
# should be unified to workout list
def get_workout_list(self, *args, **kwargs):