mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-02-23 10:51:22 +02:00
fix(api): guild not global ticket count
This commit is contained in:
parent
f140b76a92
commit
53df394a48
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user