diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-08 13:48:57 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-08 13:48:57 +0900 |
| commit | 6ca6cf90f705a26b0db2509214e4deb895980e50 (patch) | |
| tree | 0bbaa4b3fa9e01244ff1948484e76de45eab5a94 /backend/api | |
| parent | dad3b9b374c5632c403b4329e44367ebe839ed5a (diff) | |
| download | iosdc-japan-2025-albatross-6ca6cf90f705a26b0db2509214e4deb895980e50.tar.gz iosdc-japan-2025-albatross-6ca6cf90f705a26b0db2509214e4deb895980e50.tar.zst iosdc-japan-2025-albatross-6ca6cf90f705a26b0db2509214e4deb895980e50.zip | |
fix
Diffstat (limited to 'backend/api')
| -rw-r--r-- | backend/api/handler.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/api/handler.go b/backend/api/handler.go index 26031f6..949c610 100644 --- a/backend/api/handler.go +++ b/backend/api/handler.go @@ -87,6 +87,7 @@ func (h *Handler) GetGames(ctx context.Context, _ GetGamesRequestObject, _ *auth ProblemID: int(row.ProblemID), Title: row.Title, Description: row.Description, + SampleCode: row.SampleCode, }, } gameIDs[i] = row.GameID @@ -162,6 +163,7 @@ func (h *Handler) GetGame(ctx context.Context, request GetGameRequestObject, _ * ProblemID: int(row.ProblemID), Title: row.Title, Description: row.Description, + SampleCode: row.SampleCode, }, MainPlayers: mainPlayers, } |
