all repos — litestore @ b24705794e60fc3a17d2f4864284563cb3b41668

A minimalist nosql document store.

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

b24705794e60fc3a17d2f4864284563cb3b41668

parent

7e9a8d16d400b907d26753dc952b45a424bf9196

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)