Skip to content

Commit

Permalink
wip: cleanup dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie authored Oct 27, 2024
1 parent b4e2ad8 commit 167eb1e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 39 deletions.
1 change: 0 additions & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ func (s *WebSrv) Start(ctx context.Context, ready server.ReadyFunc, run server.R
}

app.Get("/", handlers.Dashboard())
app.Post("/", handlers.PostDashboard())
app.Get("/login", htmx.NewCompFuncHandler(userHandler.Login(), compFuncConfig))
app.Get("/login/:provider", goth.NewBeginAuthHandler(gothConfig))
app.Get("/auth/:provider/callback", goth.NewCompleteAuthHandler(gothConfig))
Expand Down
7 changes: 0 additions & 7 deletions internal/adapters/handlers/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -606,13 +606,6 @@ func (a *handlers) DeleteWorkflow() fiber.Handler {
})
}

// PostDashboard ...
func (a *handlers) PostDashboard() fiber.Handler {
return htmx.NewHxControllerHandler(func() htmx.Controller {
return dashboard.NewShowDashboardController(a.store)
})
}

// DeleteTemplate ...
func (a *handlers) DeleteTemplate() fiber.Handler {
return htmx.NewHxControllerHandler(func() htmx.Controller {
Expand Down
31 changes: 0 additions & 31 deletions internal/utils/iam.go

This file was deleted.

0 comments on commit 167eb1e

Please sign in to comment.