mirror of
https://github.com/spacebarchat/server.git
synced 2026-06-01 11:14:52 +00:00
Update CS models, deps
This commit is contained in:
@@ -5,8 +5,8 @@ namespace Spacebar.Models.Generic;
|
||||
|
||||
[DebuggerDisplay("{Id} ({Username}#{Discriminator})")]
|
||||
public class PartialUser {
|
||||
[JsonPropertyName("id")]
|
||||
public required string Id { get; set; }
|
||||
[JsonPropertyName("id"), JsonNumberHandling(JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)]
|
||||
public required long Id { get; set; }
|
||||
|
||||
[JsonPropertyName("username")]
|
||||
public string Username { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user