all repos — litestore @ 29cea5eaa9b68472dc79beda9a40998931236970

A minimalist nosql document store.

Fixed abort condition.
h3rald h3rald@h3rald.com
Mon, 17 Feb 2020 17:39:38 +0100
commit

29cea5eaa9b68472dc79beda9a40998931236970

parent

99af77229e57b4d5e25aa5820d8e95fb3d626c82

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M src/litestorepkg/lib/api_v6.nimsrc/litestorepkg/lib/api_v6.nim

@@ -1141,6 +1141,6 @@ if ctx.duk_peval_string("JSON.stringify($req;") != 0:

return jError(ctx) let fReq = parseJson($(ctx.duk_get_string(-1))).newLSRequest() ctx.duk_destroy_heap(); - if abort != 1: + if abort == 1: return fRes return route(fReq, LS, resource, id)