mirror of
https://github.com/HolographicHat/Yae.git
synced 2026-04-26 07:09:40 +08:00
Fix paimon.moe exporting format
This commit is contained in:
@@ -19,7 +19,7 @@ const exportToPaimon = async proto => {
|
|||||||
const out = { achievement: {} }
|
const out = { achievement: {} }
|
||||||
const data = await loadCache()
|
const data = await loadCache()
|
||||||
proto.list.filter(a => a.status === 3 || a.status === 2).forEach(({id}) => {
|
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) {
|
if (out.achievement[gid] === undefined) {
|
||||||
out.achievement[gid] = {}
|
out.achievement[gid] = {}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user