mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-05 17:51: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 },
|
where: { guildId: id },
|
||||||
}),
|
}),
|
||||||
client.prisma.tag.count({ 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({
|
client.prisma.ticket.findMany({
|
||||||
select: {
|
select: {
|
||||||
closedAt: true,
|
closedAt: true,
|
||||||
|
Reference in New Issue
Block a user