This commit is contained in:
Lee 2024-07-01 19:40:16 +01:00
parent f2b2dbc794
commit a6e490dbe5

@ -121,7 +121,7 @@ public class PremiumProfile extends Serializable {
Document document = new Document();
document.put("activatedAt", this.activatedAt);
document.put("expiresAt", this.expiresAt);
document.put("type", this.type.name());
document.put("type", this.type != null ? this.type.name() : null);
return document;
}