eamuse: include card update time in inquiries (#19)

Return the lastupdate attribute required by clients such as DANCE aROUND using the card record's persisted NeDB updatedAt timestamp.

Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
Jiongjia Lu
2026-08-31 05:46:36 +08:00
committed by GitHub
parent 6dac87d8e0
commit 51a332789a

View File

@@ -55,6 +55,7 @@ cardmng.add('cardmng.inquire', async (info, data, send) => {
dataid: card.__refid,
ecflag: 1,
expired: 0,
lastupdate: Math.floor(card.updatedAt.getTime() / 1000),
newflag: 0,
refid: card.__refid,
},