修复:流水线文件不存在报错

This commit is contained in:
2024-03-06 10:46:54 +08:00
parent 2d9b97ee78
commit dd96e1e2da
2 changed files with 20 additions and 16 deletions

View File

@@ -2,11 +2,11 @@ class Api::V1::Projects::Actions::RunsController < Api::V1::Projects::Actions::B
def index
@result_object = Api::V1::Projects::Actions::Runs::ListService.call(@project, {workflow: params[:workflow], page: page, limit: limit}, current_user&.gitea_token)
puts @result_object
end
def job_show
@result_object = Api::V1::Projects::Actions::Runs::JobShowService.call(@project, params[:run_id], params[:job], params[:log_cursors], current_user&.gitea_token)
puts @result_object
end
end