Subscription and stellar program

This commit is contained in:
2025-06-22 17:57:19 +08:00
parent 9fd6016308
commit 698442ad13
10 changed files with 296 additions and 21 deletions

View File

@ -102,7 +102,7 @@ public class PublisherService(AppDatabase db, FileReferenceService fileRefServic
// If not in cache, fetch from a database
var publishersId = await db.PublisherSubscriptions
.Where(p => p.AccountId == userId)
.Where(p => p.Status == SubscriptionStatus.Active)
.Where(p => p.Status == PublisherSubscriptionStatus.Active)
.Select(p => p.PublisherId)
.ToListAsync();
publishers = await db.Publishers