update:后台修改配置信息
This commit is contained in:
+1
-1
@@ -68,7 +68,7 @@ async def init_models():
|
||||
)
|
||||
else:
|
||||
# 从数据库更新缓存中的setting
|
||||
await settings.update(await conn.execute(select(Options).filter()))
|
||||
await settings.updates(await conn.execute(select(Options).filter()))
|
||||
|
||||
|
||||
async def get_session():
|
||||
|
||||
Reference in New Issue
Block a user