Don't serialize user language or timezone

This commit is contained in:
Slendy 2022-11-17 23:27:06 -06:00
parent ca317d3afc
commit ac192b0904
No known key found for this signature in database
GPG key ID: 7288D68361B91428

View file

@ -184,8 +184,10 @@ public class User
public string? ApprovedIPAddress { get; set; }
#nullable disable
[JsonIgnore]
public string Language { get; set; } = "en";
[JsonIgnore]
public string TimeZone { get; set; } = TimeZoneInfo.Local.Id;
public PrivacyType LevelVisibility { get; set; } = PrivacyType.All;