feat(build-deck): tag buy tx as BuildDeckBuy for acquire history
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -171,8 +171,11 @@ public class BuildDeckController : SVSimController
|
||||
}
|
||||
|
||||
// Open the inventory transaction — loads canonical graph + BuildDeckPurchases.
|
||||
await using var tx = await _inv.BeginAsync(viewerId, HttpContext.RequestAborted,
|
||||
cfg => cfg.WithInclude(v => v.BuildDeckPurchases));
|
||||
await using var tx = await _inv.BeginAsync(viewerId, HttpContext.RequestAborted, cfg =>
|
||||
{
|
||||
cfg.Source = GrantSource.BuildDeckBuy;
|
||||
cfg.WithInclude(v => v.BuildDeckPurchases);
|
||||
});
|
||||
var viewer = tx.Viewer;
|
||||
|
||||
// Debit currency
|
||||
|
||||
Reference in New Issue
Block a user