1 files changed, 3 insertions, 1 deletions
diff --git a/extra/admin-api/Models/Spacebar.Models.Gateway/LazyRequest.cs b/extra/admin-api/Models/Spacebar.Models.Gateway/LazyRequest.cs
index 200dccea..c144eb72 100644
--- a/extra/admin-api/Models/Spacebar.Models.Gateway/LazyRequest.cs
+++ b/extra/admin-api/Models/Spacebar.Models.Gateway/LazyRequest.cs
@@ -5,8 +5,10 @@ namespace Spacebar.Models.Gateway;
public class LazyRequest
{
[JsonPropertyName("guild_id")]
- public string GuildId { get; set; }
+ [JsonNumberHandling(JsonNumberHandling.AllowReadingFromString | JsonNumberHandling.WriteAsString)]
+ public long GuildId { get; set; }
+ // key is string because json...
[JsonPropertyName("channels")]
public Dictionary<string, List<List<int>>> Channels { get; set; }
|