From 481567ddcdd98c1e003600eb37b897c7587c121a Mon Sep 17 00:00:00 2001 From: cmyui Date: Thu, 1 Aug 2024 16:11:01 -0400 Subject: [PATCH] Fxi cherck --- app/method.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/method.go b/app/method.go index d932a76..cbebceb 100644 --- a/app/method.go +++ b/app/method.go @@ -59,9 +59,9 @@ func initialCaretaker(c *fasthttp.RequestCtx, f func(md common.MethodData) commo } } - // if md.User.ID == 1001 { - slog.Error(fmt.Sprintf("md.User: %v\n", md.User)) - // } + if md.User.UserID == 1001 { + slog.Error(fmt.Sprintf("md.User: %v\n", md.User)) + } missingPrivileges := 0 for _, privilege := range privilegesNeeded {