chore: update base application package dependencies and configuration files
This commit is contained in:
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
+1
-1
@@ -177,7 +177,7 @@ class WebDbApplication(BaseApplication):
|
||||
async def get(self, key, default=None):
|
||||
record = self.db["kv"].find_one(key=key)
|
||||
if record:
|
||||
result = record.get("value","null")
|
||||
result = record.get("value", "null")
|
||||
return result == "null" and default or json.loads(result)
|
||||
return default
|
||||
|
||||
|
||||
Reference in New Issue
Block a user