Skip to content

Commit

Permalink
using built in cypher instead of cypher plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdemarzi committed Feb 9, 2012
1 parent 3313e4a commit f4a66ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/neography/rest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def get_paths(from, to, relationships, depth=1, algorithm="allPaths")

def execute_query(query, params = {})
options = { :body => {:query => query, :params => params}.to_json, :headers => {'Content-Type' => 'application/json'} }
result = post("/ext/CypherPlugin/graphdb/execute_query", options)
result = post("/cypher", options)
end

def execute_script(script, params = {})
Expand Down

0 comments on commit f4a66ad

Please sign in to comment.