mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-06 18:21:25 +03:00
fix: ticket closing
This commit is contained in:
@@ -140,6 +140,8 @@ module.exports.patch = fastify => ({
|
||||
where: { id: categoryId },
|
||||
});
|
||||
|
||||
// update caches
|
||||
await client.tickets.getCategory(categoryId, true);
|
||||
await updateStaffRoles(guild);
|
||||
|
||||
logAdminEvent(client, {
|
||||
|
@@ -94,6 +94,8 @@ module.exports.post = fastify => ({
|
||||
},
|
||||
});
|
||||
|
||||
// update caches
|
||||
await client.tickets.getCategory(category.id, true);
|
||||
await updateStaffRoles(guild);
|
||||
|
||||
logAdminEvent(client, {
|
||||
|
Reference in New Issue
Block a user