chore(storage): migrate to beanie2
This commit is contained in:
@@ -22,9 +22,6 @@ class DynamicConfig(DynamicConfigBase, Document):
|
||||
class Settings:
|
||||
name = "config"
|
||||
|
||||
async def save(self): # noqa
|
||||
await super().save() # noqa
|
||||
|
||||
@classmethod
|
||||
async def get_or_create(cls):
|
||||
config = await cls.find_one()
|
||||
|
||||
Reference in New Issue
Block a user