🐛 Fix publisher subscription status didn't include publisher

This commit is contained in:
2025-12-22 23:40:09 +08:00
parent 2aff62c64f
commit 16a37549fe
2 changed files with 1 additions and 2 deletions

View File

@@ -1,5 +1,4 @@
using DysonNetwork.Pass.Wallet;
using DysonNetwork.Shared.Cache;
using DysonNetwork.Shared.Models;
using Microsoft.EntityFrameworkCore;

View File

@@ -202,7 +202,7 @@ public class SnPublisherSubscription : ModelBase
public Guid Id { get; set; }
public Guid PublisherId { get; set; }
[JsonIgnore] public SnPublisher Publisher { get; set; } = null!;
public SnPublisher Publisher { get; set; } = null!;
public Guid AccountId { get; set; }
public PublisherSubscriptionStatus Status { get; set; } = PublisherSubscriptionStatus.Active;