Pass async db to async to synced JSONKey which expects it

This commit is contained in:
Scoder12
2020-08-05 15:51:35 -07:00
parent ab79581905
commit 7d6f45be6c
+1 -1
View File
@@ -365,7 +365,7 @@ class ReplitDb(AsyncReplitDb):
JSONKey: The initialized JSONKey instance.
"""
return JSONKey(
db=self,
db=super(),
key=key,
dtype=dtype,
get_default=get_default,