From a00b7e874b3d70188453423f851ca6241e5e67f2 Mon Sep 17 00:00:00 2001 From: Akulij Date: Thu, 27 Mar 2025 22:05:21 +0800 Subject: [PATCH] fix missing argument in admin handlers --- cmd/app/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/app/main.go b/cmd/app/main.go index 009cc29..3869689 100644 --- a/cmd/app/main.go +++ b/cmd/app/main.go @@ -58,7 +58,7 @@ func handleCommand(bc BotController, update tgbotapi.Update, user User) { if user.IsAdmin() { f, exists := adminCommands[command] // f is a function that handles specified command if exists { - f(bc, update) + f(bc, update, user) return } }