all repos — litestore @ 283410a8e22589f99a81d9842079d12e7bf9f920

A minimalist nosql document store.

Merge branch 'master' of github.com:h3rald/litestore
h3rald h3rald@h3rald.com
Thu, 18 Aug 2022 19:05:38 +0000
commit

283410a8e22589f99a81d9842079d12e7bf9f920

parent

85fef5c04bd8a5f4b07959fd7f33b8d86c62887c

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

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

@@ -883,7 +883,7 @@ options.select = @["documents.id AS id", "created", "modified"]

try: parseQueryOptions(req.url.query, options); if id != "" and options.folder == "": - if req.url.query.contains("raw=true") or req.headers.hasKey("Accept") and req.headers["Accept"] == "application/json": + if req.url.query.contains("raw=true"): return LS.getRawDocument(id, options, req) else: return LS.getDocument(id, options, req)