first implementation
This commit is contained in:
@@ -417,6 +417,9 @@ def add_workouts_plannedsession(ws, ps, r):
|
||||
result += 1
|
||||
comments.append('Attached workout %s to session' %
|
||||
encoder.encode_hex(w.id))
|
||||
if ps.intervals_icu_id:
|
||||
integration = integrations.IntervalsIntegration(w.user)
|
||||
integration.pair_workout_and_session(w, ps.intervals_icu_id)
|
||||
if ps.sessiontype == 'coursetest': # pragma: no cover
|
||||
record = CourseTestResult(
|
||||
userid=w.user.id,
|
||||
|
||||
Reference in New Issue
Block a user