all repos — litestore @ 240ce0b144f9403fcb5098b69b3ee45f0c3c90ce

A minimalist nosql document store.

Fixed indentation.
h3rald h3rald@h3rald.com
Sat, 08 Feb 2020 12:41:50 +0100
commit

240ce0b144f9403fcb5098b69b3ee45f0c3c90ce

parent

785f6a3268f6316fd7390d6985ccfff9956d7531

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

jump to
M src/litestore.nimsrc/litestore.nim

@@ -100,12 +100,12 @@ else:

# Open Datastore setup(true) -if LS.auth == newJNull(): - # Attempt to retrieve auth.json from system documents - let options = newQueryOptions(true) - let rawDoc = LS.store.retrieveRawDocument("auth.json", options) - if rawDoc != "": - LS.auth = rawDoc.parseJson() + if LS.auth == newJNull(): + # Attempt to retrieve auth.json from system documents + let options = newQueryOptions(true) + let rawDoc = LS.store.retrieveRawDocument("auth.json", options) + if rawDoc != "": + LS.auth = rawDoc.parseJson() case LS.operation: of opRun: