lib/github_api/client/repos/releases/assets.rb in github_api-0.13.0 vs lib/github_api/client/repos/releases/assets.rb in github_api-0.13.1

- old
+ new

@@ -68,10 +68,10 @@ end file = Faraday::UploadIO.new(arguments.filepath, type) options = { headers: { content_type: type }, - endpoint: 'https://uploads.github.com', + endpoint: upload_endpoint, query: {'name' => params['name']} } params['data'] = file.read params['options'] = options