mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-04 01:11:27 +03:00
fix(api): guild not global ticket count
This commit is contained in:
@@ -57,7 +57,7 @@ module.exports.get = fastify => ({
|
||||
where: { guildId: id },
|
||||
}),
|
||||
client.prisma.tag.count({ where: { guildId: id } }),
|
||||
client.prisma.ticket.count(),
|
||||
client.prisma.ticket.count({ where: { guildId: id } }),
|
||||
client.prisma.ticket.findMany({
|
||||
select: {
|
||||
closedAt: true,
|
||||
|
Reference in New Issue
Block a user