ui: Handle exercice authors

This commit is contained in:
nemunaire 2023-06-14 20:53:09 +02:00
commit 60243dd486
2 changed files with 11 additions and 1 deletions

View file

@ -12,6 +12,7 @@ var GlobalScoreCoefficient float64 = 1
type exportedExercice struct {
Id int64 `json:"id"`
Title string `json:"title"`
Authors string `json:"authors,omitempty"`
Headline string `json:"headline,omitempty"`
Image string `json:"image,omitempty"`
URLId string `json:"urlid"`
@ -63,6 +64,7 @@ func ExportThemes() (interface{}, error) {
exos = append(exos, exportedExercice{
exercice.Id,
exercice.Title,
exercice.Authors,
exercice.Headline,
exoimgpath,
exercice.URLId,