fix: rename
Some checks failed
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Has been cancelled

This commit is contained in:
2025-12-26 07:13:27 +01:00
parent c927d917ec
commit 2b23700c84

View File

@@ -33,13 +33,13 @@ func NewHandler(r *core.Render, s *Service, treasureChest service.TreasureChest)
}
func (handler HandlerImpl) Handle(router *http.ServeMux) {
router.Handle("GET /dashboard", handler.handleHandler())
router.Handle("GET /dashboard", handler.handleDashboard())
router.Handle("GET /dashboard/main-chart", handler.handleHandlerMainChart())
router.Handle("GET /dashboard/treasure-chests", handler.handleHandlerTreasureChests())
router.Handle("GET /dashboard/treasure-chest", handler.handleHandlerTreasureChest())
}
func (handler HandlerImpl) handleHandler() http.HandlerFunc {
func (handler HandlerImpl) handleDashboard() http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
core.UpdateSpan(r)