fix: no longer save the url to the config

This commit is contained in:
mio 2023-05-01 16:51:03 +08:00
parent 056bb36b15
commit bfa075fe57

@ -18,7 +18,6 @@ const saveData = async (data, url) => {
const obj = Object.assign({}, data)
obj.result = [...obj.result]
obj.typeMap = [...obj.typeMap]
config.urls.set(data.uid, url)
await config.save()
await saveJSON(`gacha-list-${data.uid}.json`, obj)
}