chore: minor text change
This commit is contained in:
@@ -25,7 +25,7 @@ func KickoffApi(logger *slog.Logger, env bootstrap.Environment, db *gorm.DB) {
|
|||||||
r.Use(gin.Recovery())
|
r.Use(gin.Recovery())
|
||||||
|
|
||||||
if env.Authentication {
|
if env.Authentication {
|
||||||
slog.Debug("activating authentication middleware") // only log when actually doign the thing it logs to do
|
slog.Debug("injecting authentication middleware") // only log when actually doign the thing it logs to do
|
||||||
r.Use(middleware.AuthMiddleware())
|
r.Use(middleware.AuthMiddleware())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user