Closed thomaslevesque closed 6 years ago
OK, dumb mistake. I had not realized that replaceDocument
returned a boolean, not a QueryResponse
. Thanks, Javascript, for making me lose 2 hours of my life... a proper language with strong typing would have shown me the error immediately.
I have tried about every possible variation of this:
But whatever I do, I'm always getting "replaceDocument was not accepted". What am I doing wrong? Why does
replaceDocument
always fail?