aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-18 01:27:49 +0900
committernsfisis <nsfisis@gmail.com>2024-08-18 01:46:02 +0900
commit4969cc2e9f620c9858f39d22ec61a2c7e1690331 (patch)
tree804c3e6ba800dfb6311e2cf7bb76e531eedcb75a /backend
parenta9b1520b81f272dc3b52fc8172fe0d0b04d576e4 (diff)
downloadiosdc-japan-2025-albatross-4969cc2e9f620c9858f39d22ec61a2c7e1690331.tar.gz
iosdc-japan-2025-albatross-4969cc2e9f620c9858f39d22ec61a2c7e1690331.tar.zst
iosdc-japan-2025-albatross-4969cc2e9f620c9858f39d22ec61a2c7e1690331.zip
feat(backend): do now show success message
Diffstat (limited to 'backend')
-rw-r--r--backend/game/hub.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/backend/game/hub.go b/backend/game/hub.go
index 9e1194b..21142a1 100644
--- a/backend/game/hub.go
+++ b/backend/game/hub.go
@@ -251,8 +251,7 @@ func (hub *gameHub) processTaskResults() {
taskResult.TaskPayload.UserID(),
nullable.NewNullNullable[int](),
"success",
- // TODO: inherit the command stdout/stderr.
- "Successfully compiled",
+ "",
"",
)
}
@@ -298,8 +297,7 @@ func (hub *gameHub) processTaskResults() {
taskResult.TaskPayload.UserID(),
nullable.NewNullableWithValue(int(taskResult.TaskPayload.TestcaseID)),
"success",
- // TODO: inherit the command stdout/stderr?
- "Testcase passed",
+ "",
"",
)
}