Skip to content

Commit

Permalink
fix: missing BsonCreator
Browse files Browse the repository at this point in the history
  • Loading branch information
qixils committed Dec 22, 2023
1 parent d735cad commit f6a59e7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
package dev.qixils.quasicord.db.collection;

import dev.qixils.quasicord.db.CollectionName;
import org.bson.codecs.pojo.annotations.BsonCreator;
import org.bson.codecs.pojo.annotations.BsonId;
import org.bson.codecs.pojo.annotations.BsonIgnore;
import org.bson.codecs.pojo.annotations.BsonProperty;
Expand All @@ -33,6 +34,7 @@ public class TimeZoneConfig {
* @param tzCode the user's configured timezone
*/
@ApiStatus.Internal
@BsonCreator
public TimeZoneConfig(
@BsonId long snowflake,
@BsonProperty("tzCode") @NonNull String tzCode
Expand Down

0 comments on commit f6a59e7

Please sign in to comment.