dkforest

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

commit be47e3e81ed10785bee80fd08dbba54d5295aaea
parent d4658ee5291a06f1ae1bcaa3894052b85a756e4a
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Sun, 18 Jun 2023 00:46:05 -0700

Add audit

Diffstat:
Mpkg/web/handlers/chess.go | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/pkg/web/handlers/chess.go b/pkg/web/handlers/chess.go @@ -146,6 +146,7 @@ func ChessGameAnalyzeHandler(c echo.Context) error { } t := utils.Clamp(utils.ParseInt64OrDefault(c.Request().PostFormValue("t"), 15), 15, 60) + db.NewAudit(*authUser, fmt.Sprintf("start chess analyze: t=%d | key=%s", t, g.Key)) if g.SetAnalyzing() { go func() {