luogu-discussion-archive icon indicating copy to clipboard operation
luogu-discussion-archive copied to clipboard

响应格式好像有所变动

Open immccn123 opened this issue 6 months ago • 0 comments

Invalid `tx.userSnapshot.create()` invocation in /piterator/lglg.top/luogu-discussion-archive/packages/archive/dist/lib/user.js:37:31 34 return; 35 } 36 const userSnapshot = Object.assign(Object.assign({}, user), { uid: undefined, background: undefined, slogan: undefined, avatar: undefined }); → 37 yield tx.userSnapshot.create({ data: { uid: undefined, avatar: undefined, name: "moon_set", slogan: undefined, badge: null, isAdmin: false, isBanned: false, color: "Orange", ccfLevel: 5, xcpcLevel: 0, ~~~~~~~~~ background: undefined, user: { connectOrCreate: { where: { id: 825015 }, create: { id: 825015 } } }, ? isRoot?: Boolean | Null, ? until?: DateTime, ? time?: DateTime } }) Unknown argument `xcpcLevel`. Did you mean `ccfLevel`? Available options are marked with ?.

immccn123 avatar May 01 '25 00:05 immccn123