mirror of
https://github.com/HolographicHat/Yae.git
synced 2026-03-16 00:53:17 +08:00
Fix paimon.moe exporting format
This commit is contained in:
@@ -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] = {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user