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.
|
// Open the inventory transaction — loads canonical graph + BuildDeckPurchases.
|
||||||
await using var tx = await _inv.BeginAsync(viewerId, HttpContext.RequestAborted,
|
await using var tx = await _inv.BeginAsync(viewerId, HttpContext.RequestAborted, cfg =>
|
||||||
cfg => cfg.WithInclude(v => v.BuildDeckPurchases));
|
{
|
||||||
|
cfg.Source = GrantSource.BuildDeckBuy;
|
||||||
|
cfg.WithInclude(v => v.BuildDeckPurchases);
|
||||||
|
});
|
||||||
var viewer = tx.Viewer;
|
var viewer = tx.Viewer;
|
||||||
|
|
||||||
// Debit currency
|
// Debit currency
|
||||||
|
|||||||
Reference in New Issue
Block a user