mirror of
https://github.com/asphyxia-core/core.git
synced 2026-12-04 22:49:12 -06:00
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:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user