Use of passing log

This commit is contained in:
maximo tejeda 2025-02-23 09:56:01 -04:00
parent 0f2ba7af44
commit 0f2762d53c

View File

@ -80,7 +80,7 @@ func SetAuthRequired(svc ports.UserService, log *slog.Logger) func(bot.HandlerFu
} else {
key = update.CallbackQuery.From.ID
}
slog.Debug("executing auth func","user", key)
log.Debug("executing auth func","user", key)
authMe := func() {
k := helpers.Authenticate(ctx, log, b, update, svc)
if !k {