Browse Source

fix template list handler again

Alexander Belanger 4 năm trước cách đây
mục cha
commit
ab4d5351e9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      api/server/handlers/template/list.go

+ 1 - 1
api/server/handlers/template/list.go

@@ -40,7 +40,7 @@ func (t *TemplateListHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
 		repoURL = t.Config().ServerConf.DefaultApplicationHelmRepoURL
 	}
 
-	repoIndex, err := loader.LoadRepoIndexPublic(request.RepoURL)
+	repoIndex, err := loader.LoadRepoIndexPublic(repoURL)
 
 	if err != nil {
 		t.HandleAPIError(w, r, apierrors.NewErrInternal(err))