fix(api/stats): guild ticket count

This commit is contained in:
Isaac 2025-02-12 03:20:00 +00:00
parent 37ece87b4e
commit 5a908e77a7
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33

View File

@ -94,7 +94,7 @@ module.exports.get = fastify => ({
tickets: c._count.tickets, tickets: c._count.tickets,
})), })),
tags, tags,
tickets: tickets.length, tickets,
}, },
}; };
await client.keyv.set(cacheKey, cached, ms('5m')); await client.keyv.set(cacheKey, cached, ms('5m'));