diff --git a/src/commands/shop/roles/modules/cancel.ts b/src/commands/shop/roles/modules/cancel.ts index 66a0507..9a41a01 100644 --- a/src/commands/shop/roles/modules/cancel.ts +++ b/src/commands/shop/roles/modules/cancel.ts @@ -39,7 +39,7 @@ export default async (interaction: CommandInteraction) => { return interaction?.editReply({ embeds: [embed] }); } - const roleExist = await shopRolesSchema?.find({ + const roleExist = await shopRolesSchema?.findOne({ guildId: guild?.id, userId: user?.id, roleId: optionRole?.id,