diff --git a/coffeecard/CoffeeCard.Library/Services/v2/PurchaseService.cs b/coffeecard/CoffeeCard.Library/Services/v2/PurchaseService.cs index 57722787..187c615e 100644 --- a/coffeecard/CoffeeCard.Library/Services/v2/PurchaseService.cs +++ b/coffeecard/CoffeeCard.Library/Services/v2/PurchaseService.cs @@ -340,6 +340,7 @@ public async Task RefundPurchase(int paymentId) var purchase = await _context.Purchases .Where(p => p.Id == paymentId) .Include(p => p.PurchasedBy) + .Include(p => p.Tickets) .FirstOrDefaultAsync(); // Does the purchase exist?