aboutsummaryrefslogtreecommitdiff
path: root/backend/handlers
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-03 16:41:50 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-03 16:41:50 +0300
commit7a9fb3cfda18aece4f003185b93e826d5619ecd8 (patch)
tree14984cbc95805d4cd90d99c7e9a947a1b41ad1ab /backend/handlers
parentfeat: added logs for user update (#55) (diff)
downloadlphub-7a9fb3cfda18aece4f003185b93e826d5619ecd8.tar.gz
lphub-7a9fb3cfda18aece4f003185b93e826d5619ecd8.tar.bz2
lphub-7a9fb3cfda18aece4f003185b93e826d5619ecd8.zip
fix: create map summary, why the fuck does this have to be a pointer integer??
Former-commit-id: d44c3830e00975a1c4d41da83e762f452b2caaf4
Diffstat (limited to 'backend/handlers')
-rw-r--r--backend/handlers/mod.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/handlers/mod.go b/backend/handlers/mod.go
index a9b7a20..9e93395 100644
--- a/backend/handlers/mod.go
+++ b/backend/handlers/mod.go
@@ -15,7 +15,7 @@ type CreateMapSummaryRequest struct {
15 Description string `json:"description" binding:"required"` 15 Description string `json:"description" binding:"required"`
16 Showcase string `json:"showcase"` 16 Showcase string `json:"showcase"`
17 UserName string `json:"user_name" binding:"required"` 17 UserName string `json:"user_name" binding:"required"`
18 ScoreCount int `json:"score_count" binding:"required"` 18 ScoreCount *int `json:"score_count" binding:"required"`
19 RecordDate time.Time `json:"record_date" binding:"required"` 19 RecordDate time.Time `json:"record_date" binding:"required"`
20} 20}
21 21