Bulk commit
This commit is contained in:
@ -24,13 +24,13 @@ func main() {
|
||||
|
||||
db := utils.SetupDatabase(os.Getenv("DB_DSN"), logger)
|
||||
|
||||
appCtx := &utils.Application{Logger: logger, DB: db}
|
||||
appCtx := utils.Application{Logger: logger, DB: db}
|
||||
|
||||
app := fiber.New()
|
||||
|
||||
utils.RegisterMiddlewares(app)
|
||||
|
||||
utils.CreateOIDCClient(context.Background(), app, logger)
|
||||
utils.CreateOIDCClient(context.Background(), app, appCtx)
|
||||
|
||||
routers.RegisterMandantRouter(app.Group("/v1/mandant"), appCtx)
|
||||
routers.RegisterAnsprechpartnerRouter(app.Group("/v1/ansprechpartner"), appCtx)
|
||||
|
||||
Reference in New Issue
Block a user