diff --git a/app/services/git_service.rb b/app/services/git_service.rb index 58445aac0..d2889c034 100644 --- a/app/services/git_service.rb +++ b/app/services/git_service.rb @@ -29,7 +29,7 @@ class GitService https = Net::HTTP.new(uri.host, uri.port) https.use_ssl = root_url.start_with?('https') req = Net::HTTP::Post.new(uri.path, initheader = {'Content-Type' => 'text/plain;charset=utf-8'}) - req.body = JSON.parse(params) + req.body = JSON.parse(params).to_s res = https.request(req) body = res.body logger.info("--uri_exec: .....res is #{body}")