소스 검색

add missing return

Anukul Sangwan 4 년 전
부모
커밋
b093ccd659
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      server/api/git_action_handler.go

+ 1 - 0
server/api/git_action_handler.go

@@ -40,6 +40,7 @@ func (app *App) HandleGenerateGitAction(w http.ResponseWriter, r *http.Request)
 			Code:   ErrReleaseReadData,
 			Errors: []string{"release not found"},
 		}, w)
+		return
 	}
 
 	form := &forms.CreateGitAction{