diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-12 02:11:30 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-12 03:57:56 +0900 |
| commit | 8cbb00ae115545a5803f6d08283985ca089d7e41 (patch) | |
| tree | aaea5583102fe6a15274ecbd85adf628b044ec92 /backend/api/handler.go | |
| parent | 699c5ce665bae6bcc406a0f7de994bb218a9977e (diff) | |
| download | phperkaigi-2025-albatross-8cbb00ae115545a5803f6d08283985ca089d7e41.tar.gz phperkaigi-2025-albatross-8cbb00ae115545a5803f6d08283985ca089d7e41.tar.zst phperkaigi-2025-albatross-8cbb00ae115545a5803f6d08283985ca089d7e41.zip | |
feat: add `submitresult` message
Diffstat (limited to 'backend/api/handler.go')
| -rw-r--r-- | backend/api/handler.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/api/handler.go b/backend/api/handler.go index 7ef77e5..eca6006 100644 --- a/backend/api/handler.go +++ b/backend/api/handler.go @@ -148,7 +148,8 @@ func (h *Handler) GetGame(ctx context.Context, request GetGameRequestObject, use } execSteps := make([]ExecStep, len(testcaseIDs)+1) execSteps[0] = ExecStep{ - Label: "Compile", + TestcaseID: nullable.NewNullNullable[int](), + Label: "Compile", } for i, testcaseID := range testcaseIDs { execSteps[i+1] = ExecStep{ |
