Fixed abort condition.
h3rald h3rald@h3rald.com
Mon, 17 Feb 2020 17:39:38 +0100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/litestorepkg/lib/api_v6.nim
→
src/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)