mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 12:45:46 +08:00
fixed 流水线删除报错
This commit is contained in:
@@ -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/, ''),
|
||||||
|
|||||||
Reference in New Issue
Block a user