move to async database

This commit is contained in:
Hay1tsme committed 2024-01-09 14:42:17 -05:00
1 parent edd3ce8ead
commit 05586df08a
77 files changed
+1925 -1948

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ class OngekiBrightMemory(OngekiBright):
return ret
async def handle_get_user_memory_chapter_api_request(self, data: Dict) -> Dict:
memories = self.data.item.get_memorychapters(data["userId"])
memories = await self.data.item.get_memorychapters(data["userId"])
if not memories:
return {
"userId": data["userId"],