Unable to remove "John Lennon" from "The Beatles"
rogerpueyo opened this issue · comments
Roger Pueyo Centelles commented
I'm following the quick start guide, adding some people to "The Beatles":
$ curl localhost:3000/set/add/bands/beatles/john
ok
$ curl localhost:3000/set/add/bands/beatles/paul
ok
$ curl localhost:3000/set/add/bands/beatles/george
ok
$ curl localhost:3000/set/add/bands/beatles/ringo
ok
Everything seems to be fine:
$ curl localhost:3000/set/read/bands/beatles
["john","paul","ringo","george"]
However, when I try to remove John from the band, I get:
$ curl localhost:3000/set/remove/bands/beatles/john
curl: (52) Empty reply from server
And antidote-rest-server says:
$ antidote-rest-server
Antidote REST Server v0.9.2
Using Antidote at localhost:8087
REST Server listening on port 3000
(node:4227) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): ReferenceError: defer is not defined
(node:4227) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Roger Pueyo Centelles commented
Fixed as of antidote-rest-server v0.9.3.