Self change.
All checks were successful
Build Base Application / Build (push) Successful in 2m38s

This commit is contained in:
retoor 2024-12-19 13:59:40 +01:00
parent b15f7e6d53
commit aab209f80a

View File

@ -178,7 +178,7 @@ class WebDbApplication(BaseApplication):
value = json.dumps(value, default=str) value = json.dumps(value, default=str)
return self.db["kv"].upsert({"key": key, "value": value}, ["key"]) 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) return self.sget(key, default)
def sget(self, key, default=None): def sget(self, key, default=None):