Browse Source

修复: 提示修改

pull/313/head
yystopf 3 years ago
parent
commit
f417e42864
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/services/api/v1/projects/contents/batch_create_service.rb

+ 1
- 1
app/services/api/v1/projects/contents/batch_create_service.rb View File

@@ -79,7 +79,7 @@ class Api::V1::Projects::Contents::BatchCreateService < ApplicationService
def excute_data_to_gitea
puts request_body.to_json
@gitea_data = $gitea_client.post_repos_contents_batch_by_owner_repo(owner, repo, {body: request_body.to_json, query: request_params}) rescue nil
raise Error, '创建文件失败!' unless @gitea_data.is_a?(Hash)
raise Error, '提交文件失败!' unless @gitea_data.is_a?(Hash)
end

def check_branch_exist


Loading…
Cancel
Save