mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-02-23 18:51:29 +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 },
|
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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user