Browse Source

fixed 流水线删除报错

pull/347/head
xxq250 1 year ago
parent
commit
a06e55d30c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/api/v1/projects/pipelines_controller.rb

+ 1
- 1
app/controllers/api/v1/projects/pipelines_controller.rb 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/, ''),


Loading…
Cancel
Save