mirror of
https://github.com/earthjasonlin/zzz-signal-search-export.git
synced 2024-11-22 21:30:22 +08:00
fix: no longer save the url to the config
This commit is contained in:
parent
056bb36b15
commit
bfa075fe57
@ -18,7 +18,6 @@ const saveData = async (data, url) => {
|
|||||||
const obj = Object.assign({}, data)
|
const obj = Object.assign({}, data)
|
||||||
obj.result = [...obj.result]
|
obj.result = [...obj.result]
|
||||||
obj.typeMap = [...obj.typeMap]
|
obj.typeMap = [...obj.typeMap]
|
||||||
config.urls.set(data.uid, url)
|
|
||||||
await config.save()
|
await config.save()
|
||||||
await saveJSON(`gacha-list-${data.uid}.json`, obj)
|
await saveJSON(`gacha-list-${data.uid}.json`, obj)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user