Skip to content
This repository has been archived by the owner on Jul 15, 2024. It is now read-only.

Commit

Permalink
fix: using wrong schema
Browse files Browse the repository at this point in the history
  • Loading branch information
wdhdev committed Jun 27, 2023
1 parent 6967303 commit e0c4251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/dev/admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ module.exports = {
return;
}

await modSchema.findOneAndDelete({ _id: user.id });
await verifiedSchema.findOneAndDelete({ _id: user.id });

const unverified = new Discord.EmbedBuilder()
.setColor(client.config_embeds.default)
Expand Down

0 comments on commit e0c4251

Please sign in to comment.