修复定时删除日志设置,主持设置大于24天

This commit is contained in:
whyour committed 2022-04-18 22:29:14 +08:00
1 parent 54e58c1e08
commit 8ad325686d
2 files changed
+43 -33

No files matched your search

+2
View File
@@ -57,7 +57,9 @@ export default class SystemService {
}
public async updateLogRemoveFrequency(frequency: number) {
const oDoc = await this.getLogRemoveFrequency();
const result = await this.updateAuthDb({
...oDoc,
type: AuthDataType.removeLogFrequency,
info: { frequency },
});