1
0
Fork 0

fix(server): return slug when listing all trainings

This commit is contained in:
Vojtěch Mareš 2024-06-27 09:15:06 +02:00
parent 36230f02e5
commit 7c4c42f1b2
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -50,6 +50,7 @@ func (h *APIHandlers) ListTrainings(ctx context.Context, req ListTrainingsReques
data[idx] = Training{
Id: t.ID,
Name: t.Name,
Slug: t.Slug,
Days: t.Days,
Description: t.Description,
Pricing: pricing,