This commit is contained in:
fabio
2026-02-22 17:47:28 +01:00
parent 722dd85fc6
commit 036aadb09a
18 changed files with 746 additions and 39 deletions

View File

@@ -51,7 +51,9 @@ func NewApp(cfg *config.Config) (*fiber.App, error) {
}
}
apphttp.RegisterRoutes(app, store, database, cfg)
if err := apphttp.RegisterRoutes(app, store, database, cfg); err != nil {
return nil, fmt.Errorf("register routes: %w", err)
}
return app, nil
}