Fix paimon.moe exporting format

This commit is contained in:
Yifan Gao
2022-04-18 04:29:34 +08:00
committed by GitHub
parent 4417feab53
commit ebb11bde9c

View File

@@ -19,7 +19,7 @@ const exportToPaimon = async proto => {
const out = { achievement: {} }
const data = await loadCache()
proto.list.filter(a => a.status === 3 || a.status === 2).forEach(({id}) => {
const gid = data["a"][id]
const gid = data["a"][id]["g"]
if (out.achievement[gid] === undefined) {
out.achievement[gid] = {}
}