Skip to content

Commit b0cfdab

Browse files
author
xyzjesper
committed
Added missing await
1 parent 169d504 commit b0cfdab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/welcome/commands/subCommand/welcome.channel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default {
3333

3434
const channel = interaction.options.getChannel("channel");
3535

36-
const data = database.guildWelcomeSetup.findFirst({
36+
const data = await database.guildWelcomeSetup.findFirst({
3737
where: {
3838
GuildId: interaction.guild.id
3939
}

0 commit comments

Comments
 (0)