chore: fix some validation issues

This commit is contained in:
2026-04-29 15:23:13 +02:00
parent 6669fda371
commit da3dee9ae7
5 changed files with 47 additions and 27 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ func Kickoff(logger *slog.Logger, env bootstrap.Environment, db *gorm.DB) {
if env.Authentication {
slog.Debug("injecting authentication middleware") // only log when actually doign the thing it logs to do
r.Use(middleware.AuthMiddleware())
r.Use(middleware.AuthMiddleware(db))
}
api := r.Group("/api")