feat: 完善 db.ts 类型

This commit is contained in:
qier222 2022-04-16 16:50:34 +08:00
parent 97233bc750
commit fc1c25f404
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
4 changed files with 83 additions and 34 deletions

View file

@ -23,7 +23,7 @@ class Cache {
db.upsert(Tables.AccountData, {
id: api,
json: JSON.stringify(data),
updateAt: Date.now(),
updatedAt: Date.now(),
})
break
}