Skip to content

Commit cd74c79

Browse files
author
xyzjesper
committed
fix(ticket): resolve issue with Selectmenu-based ticket creation
1 parent bcbb067 commit cd74c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/ticket/selectmenus/ticket-create-selectmenu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default {
2929
* @param {Client} client
3030
*/
3131
async execute(interaction: StringSelectMenuInteraction, client: ExtendedClient) {
32-
const uuid = interaction.customId.split(":")[1]
32+
const uuid = interaction.values[0]
3333
const data = await database.ticketSetups.findFirst({
3434
include: {
3535
ModalOptions: true

0 commit comments

Comments
 (0)