fixed 流水线删除报错

This commit is contained in:
xxq250 2025-03-19 17:06:41 +08:00
parent 4514b8b5ff
commit a06e55d30c
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ class Api::V1::Projects::PipelinesController < Api::V1::BaseController
} }
end end
def del_content_params(opt) def del_content_params
{ {
filepath: ".gitea/workflows/#{@pipeline.pipeline_name}.yml", filepath: ".gitea/workflows/#{@pipeline.pipeline_name}.yml",
base64_filepath: Base64.encode64(".gitea/workflows/#{@pipeline.pipeline_name}.yml").gsub(/\n/, ''), base64_filepath: Base64.encode64(".gitea/workflows/#{@pipeline.pipeline_name}.yml").gsub(/\n/, ''),