fix
This commit is contained in:
@@ -679,7 +679,7 @@ class IntervalsIntegration(SyncIntegration):
|
||||
try:
|
||||
ws = Workout.objects.filter(uploadedtointervals=id)
|
||||
for w in ws:
|
||||
if w.user == self.rower and self.rower.intervals_delete_workout:
|
||||
if w.user == self.rower and self.rower.intervals_auto_delete:
|
||||
w.delete()
|
||||
elif w.user == self.rower:
|
||||
w.uploadedtointervals = None
|
||||
|
||||
Reference in New Issue
Block a user