Fixed indentation.
h3rald h3rald@h3rald.com
Sat, 08 Feb 2020 12:41:50 +0100
1 files changed,
6 insertions(+),
6 deletions(-)
jump to
M
src/litestore.nim
→
src/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: