From d8a7589a43d3dcf27b2696e013df0bcf47bbabd3 Mon Sep 17 00:00:00 2001 From: Lexi Larkin Date: Thu, 21 Dec 2023 15:30:06 -0500 Subject: [PATCH] fix: timezone query --- .../java/dev/qixils/quasicord/commands/UserConfigCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);