aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/handler.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-11 23:11:02 +0900
committernsfisis <nsfisis@gmail.com>2024-08-11 23:11:02 +0900
commite65ee1dd3403b1572bb64217912b4bc466f65957 (patch)
treecf120caf0b1d27b4067b1e1133b787618906d8fc /backend/admin/handler.go
parentfe8b14ccc77c829a2baa4034edb22daff9d5d8f8 (diff)
parent34d61fcc7035ebd7ffb636d13308166c90b474b2 (diff)
downloadiosdc-japan-2024-albatross-e65ee1dd3403b1572bb64217912b4bc466f65957.tar.gz
iosdc-japan-2024-albatross-e65ee1dd3403b1572bb64217912b4bc466f65957.tar.zst
iosdc-japan-2024-albatross-e65ee1dd3403b1572bb64217912b4bc466f65957.zip
Merge branch 'feat/simplify-starting-procedure'
Diffstat (limited to 'backend/admin/handler.go')
-rw-r--r--backend/admin/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/admin/handler.go b/backend/admin/handler.go
index d540f57..5398107 100644
--- a/backend/admin/handler.go
+++ b/backend/admin/handler.go
@@ -231,7 +231,7 @@ func (h *Handler) postGameEdit(c echo.Context) error {
{
// TODO:
- if state != row.State && state == "prepare" {
+ if state != row.State && state == "starting" {
err := h.hubs.StartGame(int(gameID))
if err != nil {
return echo.NewHTTPError(http.StatusInternalServerError, err.Error())