bug: fix crash in mongo

This commit is contained in:
Hayden 2021-01-17 13:52:43 -09:00 committed by GitHub
commit b00b0c8af4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,7 @@ else:
docs_url = None
redoc_url = None
SQLITE_FILE = None
# DATABASE ENV
DATABASE_TYPE = os.getenv("db_type", "sqlite") # mongo, sqlite
if DATABASE_TYPE == "sqlite":