feat(backend): return settings in GET /users/@me

This commit is contained in:
sam 2025-04-06 15:32:26 +02:00
parent 3527acb8ba
commit 22be49976a
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
4 changed files with 18 additions and 12 deletions

View file

@ -49,7 +49,8 @@ public record UserResponse(
[property: JsonProperty(NullValueHandling = NullValueHandling.Ignore)] Instant? LastSidReroll,
[property: JsonProperty(NullValueHandling = NullValueHandling.Ignore)] string? Timezone,
[property: JsonProperty(NullValueHandling = NullValueHandling.Ignore)] bool? Suspended,
[property: JsonProperty(NullValueHandling = NullValueHandling.Ignore)] bool? Deleted
[property: JsonProperty(NullValueHandling = NullValueHandling.Ignore)] bool? Deleted,
[property: JsonProperty(NullValueHandling = NullValueHandling.Ignore)] UserSettings? Settings
);
public record CustomPreferenceResponse(