lib/gooddata/models/metadata/report_definition.rb in gooddata-0.6.53 vs lib/gooddata/models/metadata/report_definition.rb in gooddata-0.6.54

- old
+ new

@@ -226,20 +226,20 @@ def execute(opts = {}) result = if saved? pars = { 'report_req' => { 'reportDefinition' => uri } } - client.post '/gdc/xtab2/executor3', pars + client.post "/gdc/projects/#{project.pid}/execute", pars else data = { report_req: { definitionContent: { content: to_hash, projectMetadata: project.links['metadata'] } } } - uri = "/gdc/app/projects/#{project.pid}/execute" + uri = "/gdc/projects/#{project.pid}/execute" client.post(uri, data) end GoodData::Report.data_result(result, opts.merge(client: client)) end