Преглед изворни кода

read GitBranch from `branch` key in json

Anukul Sangwan пре 4 година
родитељ
комит
b25b0ee4af
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      internal/forms/git_action.go

+ 1 - 1
internal/forms/git_action.go

@@ -10,7 +10,7 @@ type CreateGitAction struct {
 	Release *models.Release
 
 	GitRepo        string `json:"git_repo" form:"required"`
-	GitBranch      string `json:"git_branch"`
+	GitBranch      string `json:"branch"`
 	ImageRepoURI   string `json:"image_repo_uri" form:"required"`
 	DockerfilePath string `json:"dockerfile_path"`
 	FolderPath     string `json:"folder_path"`