fix(server): return slug when listing all trainings
This commit is contained in:
parent
36230f02e5
commit
7c4c42f1b2
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Reference in a new issue