2026-07-17 18:41:37 +02:00
|
|
|
package store
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
|
|
|
|
"fmt"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Profile is the single active user's Garmin credentials plus every
|
|
|
|
|
// tunable analysis-engine parameter. Always exactly one row (id=1).
|
|
|
|
|
type Profile struct {
|
Dedup Garmin data storage, configurable chart colors, taxonomy fixes, sync/progression fixes
- Remove duplicated Garmin fields from storage; decode display-only fields
(activity name/type, lap duration/HR, structured workout raw JSON) from
RawJSON at API-response time instead of storing redundant columns
- Add a fully configurable chart color system (pace/HR main-line colors, 4
effort-kind colors, tint/darken/brighten intensity knobs) under Profile >
Chart colors
- Rename training types and fix their display order (Easy, Long, 60'/30'
Threshold, Tempo, Intervals, MAS Test, Race) everywhere they're listed
- Add an Efficiency Factor progression metric; fix Progression chart axes to
use tight non-zero-based domains, m:ss/km pace formatting, and rounded
ticks instead of raw floating-point labels
- Expose the raw get_workout_by_id() payload in the raw-data viewer
alongside activity/lap/detail JSON; enlarge the modal and shrink array
indentation for readability
- Fix "last sync" reporting a meaningless activity count: record one
combined sync run per manual "Sync now" and count genuinely new
activities instead of re-listing whatever Garmin returned for the queried
window
- Let a Review Queue activity be manually cleared back to Unclassified, and
make "Reset all" available even while disconnected from Garmin
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-20 06:33:47 +02:00
|
|
|
// Name labels this profile so a future multi-profile setup can show
|
|
|
|
|
// which one is active. Only one profile row exists today (id=1).
|
|
|
|
|
Name string
|
2026-07-17 18:41:37 +02:00
|
|
|
GarminEmail string
|
|
|
|
|
GarminPassword string
|
|
|
|
|
RollingWindowDays int
|
2026-07-19 12:57:18 +02:00
|
|
|
// BackfillHorizonDays bounds how far back "Sync now" reaches when
|
|
|
|
|
// walking backward from today; it's read fresh on every sync (not fixed
|
|
|
|
|
// at server startup), so changing it here takes effect on the next
|
|
|
|
|
// click. Unrelated to RollingWindowDays, which is for the (not yet
|
|
|
|
|
// implemented) relative classification window.
|
|
|
|
|
BackfillHorizonDays int
|
|
|
|
|
MaxHeartRate *float64
|
|
|
|
|
RestingHeartRate *float64
|
2026-07-17 18:41:37 +02:00
|
|
|
|
|
|
|
|
HRZone1MinPct, HRZone1MaxPct float64
|
|
|
|
|
HRZone2MinPct, HRZone2MaxPct float64
|
|
|
|
|
HRZone3MinPct, HRZone3MaxPct float64
|
|
|
|
|
HRZone4MinPct, HRZone4MaxPct float64
|
|
|
|
|
HRZone5MinPct, HRZone5MaxPct float64
|
|
|
|
|
|
2026-07-18 08:53:21 +02:00
|
|
|
// WarmupMinutes/CooldownMinutes apply uniformly to every fixed-duration
|
|
|
|
|
// workout type's phase detection (Easy, Long, Tempo, Threshold 30'/60',
|
|
|
|
|
// MAS Test). Interval workouts detect phases from lap data directly and
|
|
|
|
|
// don't use these.
|
|
|
|
|
WarmupMinutes, CooldownMinutes float64
|
2026-07-17 18:41:37 +02:00
|
|
|
|
2026-07-19 17:38:50 +02:00
|
|
|
// MinRepresentativePaceSecPerKm/MinRepresentativeTimeSeconds drive the
|
|
|
|
|
// Review Queue pace chart's artifact filter: a stretch of samples slower
|
|
|
|
|
// than MinRepresentativePaceSecPerKm is dropped from the chart (and its
|
|
|
|
|
// Y-axis scale) unless it persists for at least
|
|
|
|
|
// MinRepresentativeTimeSeconds, in which case it's treated as a real
|
|
|
|
|
// stop or walk break rather than noise (e.g. GPS/motion still settling
|
|
|
|
|
// right as recording starts, before the run itself begins).
|
|
|
|
|
MinRepresentativePaceSecPerKm, MinRepresentativeTimeSeconds float64
|
|
|
|
|
|
Dedup Garmin data storage, configurable chart colors, taxonomy fixes, sync/progression fixes
- Remove duplicated Garmin fields from storage; decode display-only fields
(activity name/type, lap duration/HR, structured workout raw JSON) from
RawJSON at API-response time instead of storing redundant columns
- Add a fully configurable chart color system (pace/HR main-line colors, 4
effort-kind colors, tint/darken/brighten intensity knobs) under Profile >
Chart colors
- Rename training types and fix their display order (Easy, Long, 60'/30'
Threshold, Tempo, Intervals, MAS Test, Race) everywhere they're listed
- Add an Efficiency Factor progression metric; fix Progression chart axes to
use tight non-zero-based domains, m:ss/km pace formatting, and rounded
ticks instead of raw floating-point labels
- Expose the raw get_workout_by_id() payload in the raw-data viewer
alongside activity/lap/detail JSON; enlarge the modal and shrink array
indentation for readability
- Fix "last sync" reporting a meaningless activity count: record one
combined sync run per manual "Sync now" and count genuinely new
activities instead of re-listing whatever Garmin returned for the queried
window
- Let a Review Queue activity be manually cleared back to Unclassified, and
make "Reset all" available even while disconnected from Garmin
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-20 06:33:47 +02:00
|
|
|
// Chart colors: PaceColor/HeartRateColor are the "main line" color for
|
|
|
|
|
// each metric's chart; Warmup/Effort/Recovery/CooldownColor are the
|
|
|
|
|
// "effort kind" colors. The frontend derives the under-the-line fill
|
|
|
|
|
// (effort color tinted by the main line color) and the phase background
|
|
|
|
|
// fill (effort color, darkened) from these six -- see
|
|
|
|
|
// frontend's ExpectedVsActualChart.
|
|
|
|
|
PaceColor, HeartRateColor string
|
|
|
|
|
WarmupColor, EffortColor, RecoveryColor, CooldownColor string
|
|
|
|
|
// MainLineTintPct (0-100) is how strongly the main line color mixes into
|
|
|
|
|
// the effort-kind fill under the line -- see frontend's mixColor(). Never
|
|
|
|
|
// affects the phase background above the line.
|
|
|
|
|
MainLineTintPct float64
|
|
|
|
|
// BackgroundDarkenPct (0-100) is how strongly the effort-kind color is
|
|
|
|
|
// darkened for the phase background above the line -- see frontend's
|
|
|
|
|
// darken(). Never mixed with the main line color.
|
|
|
|
|
BackgroundDarkenPct float64
|
|
|
|
|
// TargetBrightenPct (0-100) is how strongly a chart's main line color
|
|
|
|
|
// (and everything tinted from it) is brightened when that chart has a
|
|
|
|
|
// structured-workout target range to show -- a color cue for "this has a
|
|
|
|
|
// target" instead of a text label -- see frontend's brighten().
|
|
|
|
|
TargetBrightenPct float64
|
|
|
|
|
|
2026-07-17 18:41:37 +02:00
|
|
|
CreatedAt, UpdatedAt string
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const profileColumns = `
|
Dedup Garmin data storage, configurable chart colors, taxonomy fixes, sync/progression fixes
- Remove duplicated Garmin fields from storage; decode display-only fields
(activity name/type, lap duration/HR, structured workout raw JSON) from
RawJSON at API-response time instead of storing redundant columns
- Add a fully configurable chart color system (pace/HR main-line colors, 4
effort-kind colors, tint/darken/brighten intensity knobs) under Profile >
Chart colors
- Rename training types and fix their display order (Easy, Long, 60'/30'
Threshold, Tempo, Intervals, MAS Test, Race) everywhere they're listed
- Add an Efficiency Factor progression metric; fix Progression chart axes to
use tight non-zero-based domains, m:ss/km pace formatting, and rounded
ticks instead of raw floating-point labels
- Expose the raw get_workout_by_id() payload in the raw-data viewer
alongside activity/lap/detail JSON; enlarge the modal and shrink array
indentation for readability
- Fix "last sync" reporting a meaningless activity count: record one
combined sync run per manual "Sync now" and count genuinely new
activities instead of re-listing whatever Garmin returned for the queried
window
- Let a Review Queue activity be manually cleared back to Unclassified, and
make "Reset all" available even while disconnected from Garmin
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-20 06:33:47 +02:00
|
|
|
name, garmin_email, garmin_password, rolling_window_days, backfill_horizon_days, max_heart_rate, resting_heart_rate,
|
2026-07-17 18:41:37 +02:00
|
|
|
hr_zone1_min_pct, hr_zone1_max_pct, hr_zone2_min_pct, hr_zone2_max_pct,
|
|
|
|
|
hr_zone3_min_pct, hr_zone3_max_pct, hr_zone4_min_pct, hr_zone4_max_pct,
|
|
|
|
|
hr_zone5_min_pct, hr_zone5_max_pct,
|
2026-07-18 08:53:21 +02:00
|
|
|
warmup_minutes, cooldown_minutes,
|
2026-07-19 17:38:50 +02:00
|
|
|
min_representative_pace_sec_per_km, min_representative_time_seconds,
|
Dedup Garmin data storage, configurable chart colors, taxonomy fixes, sync/progression fixes
- Remove duplicated Garmin fields from storage; decode display-only fields
(activity name/type, lap duration/HR, structured workout raw JSON) from
RawJSON at API-response time instead of storing redundant columns
- Add a fully configurable chart color system (pace/HR main-line colors, 4
effort-kind colors, tint/darken/brighten intensity knobs) under Profile >
Chart colors
- Rename training types and fix their display order (Easy, Long, 60'/30'
Threshold, Tempo, Intervals, MAS Test, Race) everywhere they're listed
- Add an Efficiency Factor progression metric; fix Progression chart axes to
use tight non-zero-based domains, m:ss/km pace formatting, and rounded
ticks instead of raw floating-point labels
- Expose the raw get_workout_by_id() payload in the raw-data viewer
alongside activity/lap/detail JSON; enlarge the modal and shrink array
indentation for readability
- Fix "last sync" reporting a meaningless activity count: record one
combined sync run per manual "Sync now" and count genuinely new
activities instead of re-listing whatever Garmin returned for the queried
window
- Let a Review Queue activity be manually cleared back to Unclassified, and
make "Reset all" available even while disconnected from Garmin
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-20 06:33:47 +02:00
|
|
|
pace_color, heart_rate_color, warmup_color, effort_color, recovery_color, cooldown_color,
|
|
|
|
|
main_line_tint_pct, background_darken_pct, target_brighten_pct,
|
2026-07-17 18:41:37 +02:00
|
|
|
created_at, updated_at
|
|
|
|
|
`
|
|
|
|
|
|
2026-07-25 13:17:17 +02:00
|
|
|
// GetProfile returns the profile row for userID.
|
|
|
|
|
func (db *DB) GetProfile(ctx context.Context, userID int64) (Profile, error) {
|
2026-07-17 18:41:37 +02:00
|
|
|
var p Profile
|
2026-07-25 13:17:17 +02:00
|
|
|
err := db.QueryRowContext(ctx, `SELECT `+profileColumns+` FROM profile WHERE user_id = ?`, userID).Scan(
|
Dedup Garmin data storage, configurable chart colors, taxonomy fixes, sync/progression fixes
- Remove duplicated Garmin fields from storage; decode display-only fields
(activity name/type, lap duration/HR, structured workout raw JSON) from
RawJSON at API-response time instead of storing redundant columns
- Add a fully configurable chart color system (pace/HR main-line colors, 4
effort-kind colors, tint/darken/brighten intensity knobs) under Profile >
Chart colors
- Rename training types and fix their display order (Easy, Long, 60'/30'
Threshold, Tempo, Intervals, MAS Test, Race) everywhere they're listed
- Add an Efficiency Factor progression metric; fix Progression chart axes to
use tight non-zero-based domains, m:ss/km pace formatting, and rounded
ticks instead of raw floating-point labels
- Expose the raw get_workout_by_id() payload in the raw-data viewer
alongside activity/lap/detail JSON; enlarge the modal and shrink array
indentation for readability
- Fix "last sync" reporting a meaningless activity count: record one
combined sync run per manual "Sync now" and count genuinely new
activities instead of re-listing whatever Garmin returned for the queried
window
- Let a Review Queue activity be manually cleared back to Unclassified, and
make "Reset all" available even while disconnected from Garmin
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-20 06:33:47 +02:00
|
|
|
&p.Name, &p.GarminEmail, &p.GarminPassword, &p.RollingWindowDays, &p.BackfillHorizonDays, &p.MaxHeartRate, &p.RestingHeartRate,
|
2026-07-17 18:41:37 +02:00
|
|
|
&p.HRZone1MinPct, &p.HRZone1MaxPct, &p.HRZone2MinPct, &p.HRZone2MaxPct,
|
|
|
|
|
&p.HRZone3MinPct, &p.HRZone3MaxPct, &p.HRZone4MinPct, &p.HRZone4MaxPct,
|
|
|
|
|
&p.HRZone5MinPct, &p.HRZone5MaxPct,
|
2026-07-18 08:53:21 +02:00
|
|
|
&p.WarmupMinutes, &p.CooldownMinutes,
|
2026-07-19 17:38:50 +02:00
|
|
|
&p.MinRepresentativePaceSecPerKm, &p.MinRepresentativeTimeSeconds,
|
Dedup Garmin data storage, configurable chart colors, taxonomy fixes, sync/progression fixes
- Remove duplicated Garmin fields from storage; decode display-only fields
(activity name/type, lap duration/HR, structured workout raw JSON) from
RawJSON at API-response time instead of storing redundant columns
- Add a fully configurable chart color system (pace/HR main-line colors, 4
effort-kind colors, tint/darken/brighten intensity knobs) under Profile >
Chart colors
- Rename training types and fix their display order (Easy, Long, 60'/30'
Threshold, Tempo, Intervals, MAS Test, Race) everywhere they're listed
- Add an Efficiency Factor progression metric; fix Progression chart axes to
use tight non-zero-based domains, m:ss/km pace formatting, and rounded
ticks instead of raw floating-point labels
- Expose the raw get_workout_by_id() payload in the raw-data viewer
alongside activity/lap/detail JSON; enlarge the modal and shrink array
indentation for readability
- Fix "last sync" reporting a meaningless activity count: record one
combined sync run per manual "Sync now" and count genuinely new
activities instead of re-listing whatever Garmin returned for the queried
window
- Let a Review Queue activity be manually cleared back to Unclassified, and
make "Reset all" available even while disconnected from Garmin
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-20 06:33:47 +02:00
|
|
|
&p.PaceColor, &p.HeartRateColor, &p.WarmupColor, &p.EffortColor, &p.RecoveryColor, &p.CooldownColor,
|
|
|
|
|
&p.MainLineTintPct, &p.BackgroundDarkenPct, &p.TargetBrightenPct,
|
2026-07-17 18:41:37 +02:00
|
|
|
&p.CreatedAt, &p.UpdatedAt,
|
|
|
|
|
)
|
|
|
|
|
if err != nil {
|
2026-07-25 13:17:17 +02:00
|
|
|
return Profile{}, fmt.Errorf("get profile for user %d: %w", userID, err)
|
2026-07-17 18:41:37 +02:00
|
|
|
}
|
|
|
|
|
return p, nil
|
|
|
|
|
}
|
|
|
|
|
|
2026-07-25 13:17:17 +02:00
|
|
|
// UpdateProfile overwrites userID's profile row. Callers should read via
|
2026-07-17 18:41:37 +02:00
|
|
|
// GetProfile first and modify the fields they intend to change, since this
|
|
|
|
|
// replaces every column.
|
2026-07-25 13:17:17 +02:00
|
|
|
func (db *DB) UpdateProfile(ctx context.Context, userID int64, p Profile) error {
|
2026-07-17 18:41:37 +02:00
|
|
|
_, err := db.ExecContext(ctx, `
|
|
|
|
|
UPDATE profile SET
|
Dedup Garmin data storage, configurable chart colors, taxonomy fixes, sync/progression fixes
- Remove duplicated Garmin fields from storage; decode display-only fields
(activity name/type, lap duration/HR, structured workout raw JSON) from
RawJSON at API-response time instead of storing redundant columns
- Add a fully configurable chart color system (pace/HR main-line colors, 4
effort-kind colors, tint/darken/brighten intensity knobs) under Profile >
Chart colors
- Rename training types and fix their display order (Easy, Long, 60'/30'
Threshold, Tempo, Intervals, MAS Test, Race) everywhere they're listed
- Add an Efficiency Factor progression metric; fix Progression chart axes to
use tight non-zero-based domains, m:ss/km pace formatting, and rounded
ticks instead of raw floating-point labels
- Expose the raw get_workout_by_id() payload in the raw-data viewer
alongside activity/lap/detail JSON; enlarge the modal and shrink array
indentation for readability
- Fix "last sync" reporting a meaningless activity count: record one
combined sync run per manual "Sync now" and count genuinely new
activities instead of re-listing whatever Garmin returned for the queried
window
- Let a Review Queue activity be manually cleared back to Unclassified, and
make "Reset all" available even while disconnected from Garmin
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-20 06:33:47 +02:00
|
|
|
name=?, garmin_email=?, garmin_password=?, rolling_window_days=?, backfill_horizon_days=?, max_heart_rate=?, resting_heart_rate=?,
|
2026-07-17 18:41:37 +02:00
|
|
|
hr_zone1_min_pct=?, hr_zone1_max_pct=?, hr_zone2_min_pct=?, hr_zone2_max_pct=?,
|
|
|
|
|
hr_zone3_min_pct=?, hr_zone3_max_pct=?, hr_zone4_min_pct=?, hr_zone4_max_pct=?,
|
|
|
|
|
hr_zone5_min_pct=?, hr_zone5_max_pct=?,
|
2026-07-18 08:53:21 +02:00
|
|
|
warmup_minutes=?, cooldown_minutes=?,
|
2026-07-19 17:38:50 +02:00
|
|
|
min_representative_pace_sec_per_km=?, min_representative_time_seconds=?,
|
Dedup Garmin data storage, configurable chart colors, taxonomy fixes, sync/progression fixes
- Remove duplicated Garmin fields from storage; decode display-only fields
(activity name/type, lap duration/HR, structured workout raw JSON) from
RawJSON at API-response time instead of storing redundant columns
- Add a fully configurable chart color system (pace/HR main-line colors, 4
effort-kind colors, tint/darken/brighten intensity knobs) under Profile >
Chart colors
- Rename training types and fix their display order (Easy, Long, 60'/30'
Threshold, Tempo, Intervals, MAS Test, Race) everywhere they're listed
- Add an Efficiency Factor progression metric; fix Progression chart axes to
use tight non-zero-based domains, m:ss/km pace formatting, and rounded
ticks instead of raw floating-point labels
- Expose the raw get_workout_by_id() payload in the raw-data viewer
alongside activity/lap/detail JSON; enlarge the modal and shrink array
indentation for readability
- Fix "last sync" reporting a meaningless activity count: record one
combined sync run per manual "Sync now" and count genuinely new
activities instead of re-listing whatever Garmin returned for the queried
window
- Let a Review Queue activity be manually cleared back to Unclassified, and
make "Reset all" available even while disconnected from Garmin
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-20 06:33:47 +02:00
|
|
|
pace_color=?, heart_rate_color=?, warmup_color=?, effort_color=?, recovery_color=?, cooldown_color=?,
|
|
|
|
|
main_line_tint_pct=?, background_darken_pct=?, target_brighten_pct=?,
|
2026-07-17 18:41:37 +02:00
|
|
|
updated_at=datetime('now')
|
2026-07-25 13:17:17 +02:00
|
|
|
WHERE user_id = ?`,
|
Dedup Garmin data storage, configurable chart colors, taxonomy fixes, sync/progression fixes
- Remove duplicated Garmin fields from storage; decode display-only fields
(activity name/type, lap duration/HR, structured workout raw JSON) from
RawJSON at API-response time instead of storing redundant columns
- Add a fully configurable chart color system (pace/HR main-line colors, 4
effort-kind colors, tint/darken/brighten intensity knobs) under Profile >
Chart colors
- Rename training types and fix their display order (Easy, Long, 60'/30'
Threshold, Tempo, Intervals, MAS Test, Race) everywhere they're listed
- Add an Efficiency Factor progression metric; fix Progression chart axes to
use tight non-zero-based domains, m:ss/km pace formatting, and rounded
ticks instead of raw floating-point labels
- Expose the raw get_workout_by_id() payload in the raw-data viewer
alongside activity/lap/detail JSON; enlarge the modal and shrink array
indentation for readability
- Fix "last sync" reporting a meaningless activity count: record one
combined sync run per manual "Sync now" and count genuinely new
activities instead of re-listing whatever Garmin returned for the queried
window
- Let a Review Queue activity be manually cleared back to Unclassified, and
make "Reset all" available even while disconnected from Garmin
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-20 06:33:47 +02:00
|
|
|
p.Name, p.GarminEmail, p.GarminPassword, p.RollingWindowDays, p.BackfillHorizonDays, p.MaxHeartRate, p.RestingHeartRate,
|
2026-07-17 18:41:37 +02:00
|
|
|
p.HRZone1MinPct, p.HRZone1MaxPct, p.HRZone2MinPct, p.HRZone2MaxPct,
|
|
|
|
|
p.HRZone3MinPct, p.HRZone3MaxPct, p.HRZone4MinPct, p.HRZone4MaxPct,
|
|
|
|
|
p.HRZone5MinPct, p.HRZone5MaxPct,
|
2026-07-18 08:53:21 +02:00
|
|
|
p.WarmupMinutes, p.CooldownMinutes,
|
2026-07-19 17:38:50 +02:00
|
|
|
p.MinRepresentativePaceSecPerKm, p.MinRepresentativeTimeSeconds,
|
Dedup Garmin data storage, configurable chart colors, taxonomy fixes, sync/progression fixes
- Remove duplicated Garmin fields from storage; decode display-only fields
(activity name/type, lap duration/HR, structured workout raw JSON) from
RawJSON at API-response time instead of storing redundant columns
- Add a fully configurable chart color system (pace/HR main-line colors, 4
effort-kind colors, tint/darken/brighten intensity knobs) under Profile >
Chart colors
- Rename training types and fix their display order (Easy, Long, 60'/30'
Threshold, Tempo, Intervals, MAS Test, Race) everywhere they're listed
- Add an Efficiency Factor progression metric; fix Progression chart axes to
use tight non-zero-based domains, m:ss/km pace formatting, and rounded
ticks instead of raw floating-point labels
- Expose the raw get_workout_by_id() payload in the raw-data viewer
alongside activity/lap/detail JSON; enlarge the modal and shrink array
indentation for readability
- Fix "last sync" reporting a meaningless activity count: record one
combined sync run per manual "Sync now" and count genuinely new
activities instead of re-listing whatever Garmin returned for the queried
window
- Let a Review Queue activity be manually cleared back to Unclassified, and
make "Reset all" available even while disconnected from Garmin
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-20 06:33:47 +02:00
|
|
|
p.PaceColor, p.HeartRateColor, p.WarmupColor, p.EffortColor, p.RecoveryColor, p.CooldownColor,
|
|
|
|
|
p.MainLineTintPct, p.BackgroundDarkenPct, p.TargetBrightenPct,
|
2026-07-25 13:17:17 +02:00
|
|
|
userID,
|
2026-07-17 18:41:37 +02:00
|
|
|
)
|
|
|
|
|
if err != nil {
|
2026-07-25 13:17:17 +02:00
|
|
|
return fmt.Errorf("update profile for user %d: %w", userID, err)
|
2026-07-17 18:41:37 +02:00
|
|
|
}
|
|
|
|
|
return nil
|
|
|
|
|
}
|