refactor: refresh 中异步保存文件

This commit is contained in:
amtoaer
2024-02-24 03:49:28 +08:00
parent a4c362d8ab
commit af8cd0d819
2 changed files with 13 additions and 2 deletions

View File

@@ -17,8 +17,7 @@ class PersistedCredential(Credential):
self.dedeuserid,
self.ac_time_value,
)
# 暂时使用同步调用
settings.save()
await settings.asave()
credential = PersistedCredential()