dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 11684c78d5d19e5e6b675d6a953a750709afb9f8
parent 6e090b6fceaa1dd4179124cbf3791d0ce9f442ad
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Mon, 12 Jun 2023 00:32:53 -0700

move code

Diffstat:
Mpkg/web/handlers/handlers.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/web/handlers/handlers.go b/pkg/web/handlers/handlers.go @@ -4982,12 +4982,12 @@ func ChessGameFormHandler(c echo.Context) error { func ChessGameHandler(c echo.Context) error { authUser := c.Get("authUser").(*database.User) - //db := c.Get("database").(*database.DkfDB) key := c.Param("key") g := interceptors.ChessInstance.GetGame(key) if g == nil { // Chess debug + //db := c.Get("database").(*database.DkfDB) //user1, _ := db.GetUserByID(1) //user2, _ := db.GetUserByID(30814) //interceptors.ChessInstance.NewGame(key, user1, user2)