diff options
| author | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-04-24 18:59:19 +0300 |
|---|---|---|
| committer | Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> | 2023-04-24 18:59:19 +0300 |
| commit | 344ef753edabf40bbd4f7f435827fe18bcfa509b (patch) | |
| tree | daed6906785027b43fdf7ae3cc8964857da0334e /backend/models | |
| parent | feat: change username to user_name (diff) | |
| download | lphub-344ef753edabf40bbd4f7f435827fe18bcfa509b.tar.gz lphub-344ef753edabf40bbd4f7f435827fe18bcfa509b.tar.bz2 lphub-344ef753edabf40bbd4f7f435827fe18bcfa509b.zip | |
fix: able to have null first completionist (#38)
Diffstat (limited to 'backend/models')
| -rw-r--r-- | backend/models/models.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/models/models.go b/backend/models/models.go index 3b1c58d..ae340df 100644 --- a/backend/models/models.go +++ b/backend/models/models.go | |||
| @@ -37,7 +37,7 @@ type MapSummary struct { | |||
| 37 | CategoryScores MapCategoryScores `json:"category_scores"` | 37 | CategoryScores MapCategoryScores `json:"category_scores"` |
| 38 | Rating float32 `json:"rating"` | 38 | Rating float32 `json:"rating"` |
| 39 | Routers []string `json:"routers"` | 39 | Routers []string `json:"routers"` |
| 40 | FirstCompletion string `json:"first_completion"` | 40 | FirstCompletion any `json:"first_completion"` |
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | type MapCategoryScores struct { | 43 | type MapCategoryScores struct { |