lib/hachi/clients/user.rb in hachi-0.3.2 vs lib/hachi/clients/user.rb in hachi-1.0.0
- old
+ new
@@ -50,10 +50,10 @@
name: name,
roles: roles,
password: password
)
- post("/api/user", user.payload) { |json| json }
+ post("/api/user", json: user.payload) { |json| json }
end
end
end
end