🐛 Ignore point data to avoid cycling

This commit is contained in:
2025-09-07 12:23:03 +08:00
parent 7452b14817
commit 5f324a2348
2 changed files with 3 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ public class AuthChallenge : ModelBase
[MaxLength(128)] public string? IpAddress { get; set; }
[MaxLength(512)] public string? UserAgent { get; set; }
[MaxLength(1024)] public string? Nonce { get; set; }
public Point? Location { get; set; }
[JsonIgnore] public Point? Location { get; set; }
public Guid AccountId { get; set; }
[JsonIgnore] public Account.Account Account { get; set; } = null!;