From 4969cc2e9f620c9858f39d22ec61a2c7e1690331 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 18 Aug 2024 01:27:49 +0900 Subject: feat(backend): do now show success message --- backend/game/hub.go | 6 ++---- 1 file 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", + "", "", ) } -- cgit v1.2.3-70-g09d2