This commit is contained in:
parent
b15f7e6d53
commit
aab209f80a
@ -178,7 +178,7 @@ class WebDbApplication(BaseApplication):
|
||||
value = json.dumps(value, default=str)
|
||||
return self.db["kv"].upsert({"key": key, "value": value}, ["key"])
|
||||
|
||||
async def get(key, default=None):
|
||||
async def get(self, key,default=None):
|
||||
return self.sget(key, default)
|
||||
|
||||
def sget(self, key, default=None):
|
||||
|
Loading…
Reference in New Issue
Block a user