Private
Public Access
1
0

support for external_id on intervals.icu

This commit is contained in:
2024-12-16 15:57:01 +01:00
parent ed22376e3f
commit 4ae3f34eec
2 changed files with 2 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ from uuid import uuid4
from django.utils import timezone from django.utils import timezone
from datetime import timedelta from datetime import timedelta
import rowers.dataprep as dataprep import rowers.dataprep as dataprep
from rowers.opaque import encoder
from rowsandall_app.settings import ( from rowsandall_app.settings import (
INTERVALS_CLIENT_ID, INTERVALS_REDIRECT_URI, INTERVALS_CLIENT_SECRET, SITE_URL INTERVALS_CLIENT_ID, INTERVALS_REDIRECT_URI, INTERVALS_CLIENT_SECRET, SITE_URL
@@ -171,6 +172,7 @@ class IntervalsIntegration(SyncIntegration):
params = { params = {
'name': workout.name, 'name': workout.name,
'description': workout.notes, 'description': workout.notes,
'external_id': encoder.encode_hex(workout.id),
} }

Binary file not shown.