Skip to content

Commit

Permalink
Fix: include in 'findMany' broken with prisma 5
Browse files Browse the repository at this point in the history
  • Loading branch information
cbackas committed Jul 20, 2023
1 parent 404e51c commit 860a897
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/commands/unlink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ export const command: CommandV2 = {
channelId: channel?.id
}
}
},
include: {
destinations: true
}
})

Expand Down Expand Up @@ -92,7 +89,7 @@ export const command: CommandV2 = {
throw error
}
},
async executeSelectMenu (app, interaction: AnySelectMenuInteraction) {
async executeSelectMenu (_app, interaction: AnySelectMenuInteraction) {
const channelId = interaction.message.content.match(/<#([0-9]+)>/)?.at(1)

if (channelId === undefined) return await interaction.reply('Failed to find channel')
Expand Down

0 comments on commit 860a897

Please sign in to comment.