Browse Source

Merge pull request #2131 from porter-dev/belanger/hotfix-addon-deploy

Fix create addon requests using `repo_url` in body
abelanger5 3 năm trước cách đây
mục cha
commit
7e68f4726c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      api/types/release.go

+ 1 - 1
api/types/release.go

@@ -36,7 +36,7 @@ type UpdateNotificationConfigRequest struct {
 }
 
 type CreateReleaseBaseRequest struct {
-	RepoURL         string                 `json:"-" schema:"repo_url"`
+	RepoURL         string                 `json:"repo_url,omitempty" schema:"repo_url"`
 	TemplateName    string                 `json:"template_name" form:"required"`
 	TemplateVersion string                 `json:"template_version" form:"required"`
 	Values          map[string]interface{} `json:"values"`