From 6ca6cf90f705a26b0db2509214e4deb895980e50 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 8 Mar 2025 13:48:57 +0900 Subject: fix --- backend/api/handler.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backend/api/handler.go') 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, } -- cgit v1.2.3-70-g09d2