Skip to content

Commit

Permalink
fix: timezone query
Browse files Browse the repository at this point in the history
  • Loading branch information
qixils committed Dec 21, 2023
1 parent 69ba2f9 commit d8a7589
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public Mono<QuasiMessage> 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);
Expand Down

0 comments on commit d8a7589

Please sign in to comment.