diff --git a/src/main/java/dev/qixils/quasicord/commands/UserConfigCommand.java b/src/main/java/dev/qixils/quasicord/commands/UserConfigCommand.java index b226074..a77f199 100644 --- a/src/main/java/dev/qixils/quasicord/commands/UserConfigCommand.java +++ b/src/main/java/dev/qixils/quasicord/commands/UserConfigCommand.java @@ -75,7 +75,7 @@ public Mono setTimeZoneCommand( Channel channel ) { var collection = library.getDatabaseManager().collection(TimeZoneConfig.class); - var filter = eq("id", user.getIdLong()); + var filter = eq("_id", user.getIdLong()); Publisher result; if (tz == null) { result = collection.deleteOne(filter);