diff --git a/lib/neography/rest/relationship_indexes.rb b/lib/neography/rest/relationship_indexes.rb index 7d0fb4a..9657b43 100644 --- a/lib/neography/rest/relationship_indexes.rb +++ b/lib/neography/rest/relationship_indexes.rb @@ -17,7 +17,7 @@ def initialize(connection) super(connection, :relationship) end - def create_unique(index, key, value, type, from, to, props) + def create_unique(index, key, value, type, from, to, props = nil) body = { :key => key, :value => value,