🐛 Fix wallet infinite loop

This commit is contained in:
LittleSheep 2025-05-16 00:12:17 +08:00
parent 0db003abc2
commit 6358c49090

View File

@ -1,4 +1,5 @@
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace DysonNetwork.Sphere.Wallet;
@ -19,5 +20,5 @@ public class WalletPocket : ModelBase
public decimal Amount { get; set; }
public Guid WalletId { get; set; }
public Wallet Wallet { get; set; } = null!;
[JsonIgnore] public Wallet Wallet { get; set; } = null!;
}