Update create pull request api for gitea platform

This commit is contained in:
Jasder 2020-06-28 18:06:09 +08:00
parent 750729fa33
commit 8dc6bfcc58
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ class Gitea::Repository::CreateService < Gitea::ClientService
private
def request_params
create_params = params.merge(readme: "readme")
Hash.new.merge(token: token, data: create_params)
# create_params = params.merge(readme: "readme")
Hash.new.merge(token: token, data: params)
end
def url