Răsfoiți Sursa

read GitBranch from `branch` key in json

Anukul Sangwan 4 ani în urmă
părinte
comite
b25b0ee4af
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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
 	Release *models.Release
 
 
 	GitRepo        string `json:"git_repo" form:"required"`
 	GitRepo        string `json:"git_repo" form:"required"`
-	GitBranch      string `json:"git_branch"`
+	GitBranch      string `json:"branch"`
 	ImageRepoURI   string `json:"image_repo_uri" form:"required"`
 	ImageRepoURI   string `json:"image_repo_uri" form:"required"`
 	DockerfilePath string `json:"dockerfile_path"`
 	DockerfilePath string `json:"dockerfile_path"`
 	FolderPath     string `json:"folder_path"`
 	FolderPath     string `json:"folder_path"`