diff --git a/http/http.go b/http/http.go index 81c4937..64ad48c 100644 --- a/http/http.go +++ b/http/http.go @@ -61,7 +61,11 @@ func (h *Handler) dashboard(c *gin.Context) { return } - c.HTML(http.StatusOK, "dashboard", token) + d := TemplateData{ + Token: token, + budgetService: h.Service, + } + c.HTML(http.StatusOK, "dashboard", d) } func (h *Handler) restricted(c *gin.Context) {