Skip to content

Commit 894bd1f

Browse files
author
Tomas Svarovsky
committed
Fixing DML
1 parent 6465ba3 commit 894bd1f

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

lib/gooddata/models/project.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -298,10 +298,7 @@ def deploy_process(path, options = {})
298298
# @return [Hash] Result of executing DML
299299
def execute_dml(dml)
300300
uri = "/gdc/md/#{pid}/dml/manage"
301-
result = GoodData.post(uri,
302-
manage: {
303-
maql: dml
304-
})
301+
result = client.post(uri, manage: { maql: dml })
305302
polling_uri = result['uri']
306303

307304
client.poll_on_response(polling_uri) do |body|

0 commit comments

Comments
 (0)