diff --git a/pkg/appview/handlers/api.go b/pkg/appview/handlers/api.go index 15c0fed..50d13b2 100644 --- a/pkg/appview/handlers/api.go +++ b/pkg/appview/handlers/api.go @@ -167,11 +167,12 @@ func (h *UnstarRepositoryHandler) ServeHTTP(w http.ResponseWriter, r *http.Reque // renderStarComponent renders the star component HTML for HTMX responses func renderStarComponent(w http.ResponseWriter, tmpl *template.Template, handle, repository string, isStarred bool, starCount int) { data := map[string]any{ - "Interactive": true, - "Handle": handle, - "Repository": repository, - "IsStarred": isStarred, - "StarCount": starCount, + "Interactive": true, + "IsAuthenticated": true, + "Handle": handle, + "Repository": repository, + "IsStarred": isStarred, + "StarCount": starCount, } var buf bytes.Buffer