🐛 Fix: initialize db bugs

This commit is contained in:
PiEgg
2020-07-12 15:13:21 +08:00
parent 7fabc47bd2
commit 5f87018af8
3 changed files with 10 additions and 6 deletions

View File

@@ -29,7 +29,11 @@ class DB {
if (!this.db.has('picBed').value()) {
this.db.set('picBed', {
current: 'weibo'
current: 'smms',
uploader: 'smms',
smms: {
token: ''
}
}).write()
}