diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-04 17:24:36 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-04 17:24:36 +0900 |
| commit | d87507918f33b289ac4fc4dece8a54fa3aa34923 (patch) | |
| tree | ac21e8263526daff40a0d5138c23a74a5b38ca0b /backend/admin/handlers.go | |
| parent | 2034d5efe124ffa8a9bb56821a9dfcfea27425ff (diff) | |
| download | iosdc-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.go | 2 |
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) } |
