瀏覽代碼

fix schema for branch (#2632)

Mohammed Nafees 3 年之前
父節點
當前提交
0c15726948
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/types/environment.go

+ 1 - 1
api/types/environment.go

@@ -126,7 +126,7 @@ type GetDeploymentRequest struct {
 	DeploymentID uint   `schema:"id"`
 	PRNumber     uint   `schema:"pr_number"`
 	Namespace    string `schema:"namespace"`
-	Branch       string `schema:branch`
+	Branch       string `schema:"branch"`
 }
 
 type PullRequest struct {