Use of passing log
This commit is contained in:
parent
0f2ba7af44
commit
0f2762d53c
@ -80,7 +80,7 @@ func SetAuthRequired(svc ports.UserService, log *slog.Logger) func(bot.HandlerFu
|
|||||||
} else {
|
} else {
|
||||||
key = update.CallbackQuery.From.ID
|
key = update.CallbackQuery.From.ID
|
||||||
}
|
}
|
||||||
slog.Debug("executing auth func","user", key)
|
log.Debug("executing auth func","user", key)
|
||||||
authMe := func() {
|
authMe := func() {
|
||||||
k := helpers.Authenticate(ctx, log, b, update, svc)
|
k := helpers.Authenticate(ctx, log, b, update, svc)
|
||||||
if !k {
|
if !k {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user