Open eartharoid opened 3 months ago
because this line doesn't check if the referenced ticket exists https://github.com/discord-tickets/bot/blob/22e26e11d96321ca66deaf2d8cc60c2c2b54f75b/src/lib/tickets/manager.js#L635
which happens earlier but is out of scope https://github.com/discord-tickets/bot/blob/22e26e11d96321ca66deaf2d8cc60c2c2b54f75b/src/lib/tickets/manager.js#L589-L590
because this line doesn't check if the referenced ticket exists https://github.com/discord-tickets/bot/blob/22e26e11d96321ca66deaf2d8cc60c2c2b54f75b/src/lib/tickets/manager.js#L635
which happens earlier but is out of scope https://github.com/discord-tickets/bot/blob/22e26e11d96321ca66deaf2d8cc60c2c2b54f75b/src/lib/tickets/manager.js#L589-L590