feat(sleeve): tag buy tx as SleeveBuy for acquire history

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-06-09 15:06:47 -04:00
parent 38a21e5e72
commit 30cb4727f6

View File

@@ -111,7 +111,7 @@ public class SleeveController : SVSimController
if (product.SeriesId != request.SeriesId)
return BadRequest(new { error = "series_product_mismatch" });
await using var tx = await _inv.BeginAsync(viewerId, HttpContext.RequestAborted);
await using var tx = await _inv.BeginAsync(viewerId, HttpContext.RequestAborted, cfg => cfg.Source = GrantSource.SleeveBuy);
if (tx.IsFreeplay)
return BadRequest(new { error = "already_purchased" });