fixed: 流水线执行计数器
This commit is contained in:
parent
053afec587
commit
4fe26099dd
|
@ -2,7 +2,7 @@ class Api::V1::Projects::Actions::RunsController < Api::V1::Projects::Actions::B
|
||||||
|
|
||||||
def index
|
def index
|
||||||
@result_object = Api::V1::Projects::Actions::Runs::ListService.call(@project, {workflow: params[:workflow], page: page, limit: limit}, current_user&.gitea_token)
|
@result_object = Api::V1::Projects::Actions::Runs::ListService.call(@project, {workflow: params[:workflow], page: page, limit: limit}, current_user&.gitea_token)
|
||||||
@begin_num = (page.to_i -1) * limit.to_i
|
@begin_num = (page.to_i - 1) * limit.to_i
|
||||||
# puts @result_object
|
# puts @result_object
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue