aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/handlers.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-04 17:24:36 +0900
committernsfisis <nsfisis@gmail.com>2024-08-04 17:24:36 +0900
commitd87507918f33b289ac4fc4dece8a54fa3aa34923 (patch)
treeac21e8263526daff40a0d5138c23a74a5b38ca0b /backend/admin/handlers.go
parent2034d5efe124ffa8a9bb56821a9dfcfea27425ff (diff)
downloadiosdc-japan-2024-albatross-d87507918f33b289ac4fc4dece8a54fa3aa34923.tar.gz
iosdc-japan-2024-albatross-d87507918f33b289ac4fc4dece8a54fa3aa34923.tar.zst
iosdc-japan-2024-albatross-d87507918f33b289ac4fc4dece8a54fa3aa34923.zip
feat(backend): add /logout to /admin/dashboard
Diffstat (limited to 'backend/admin/handlers.go')
-rw-r--r--backend/admin/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/admin/handlers.go b/backend/admin/handlers.go
index 1c7995d..f81856c 100644
--- a/backend/admin/handlers.go
+++ b/backend/admin/handlers.go
@@ -236,5 +236,5 @@ func (h *AdminHandler) postGameEdit(c echo.Context) error {
return echo.NewHTTPError(http.StatusInternalServerError, err.Error())
}
- return c.String(http.StatusNoContent, "")
+ return c.NoContent(http.StatusNoContent)
}