流水线查询

This commit is contained in:
moshenglv 2021-01-20 11:54:10 +08:00
parent 69c6e2ac3f
commit ab3242569d
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class Ci::PipelinesController < Ci::BaseController
# ======流水线相关接口========== #
def list
@pipelines = Ci::Pipeline.where('login=? and identifier=?', current_user.login, params[:identifier])
@pipelines = Ci::Pipeline.where('identifier=?', params[:identifier])
end
def create