Explorar o código

add missing return

Anukul Sangwan %!s(int64=4) %!d(string=hai) anos
pai
achega
b093ccd659
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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{