feat(gift): tag receive-gift tx as AdminGrant for acquire history

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-06-09 15:08:27 -04:00
parent 6ec6a9c3fc
commit c2c3abc6f0

View File

@@ -74,8 +74,11 @@ public class GiftController : SVSimController
&& requested.Contains(p.PresentId))
.ToListAsync();
await using var tx = await _inv.BeginAsync(viewerId, configure:
cfg => cfg.WithInclude(v => v.MissionData));
await using var tx = await _inv.BeginAsync(viewerId, configure: cfg =>
{
cfg.Source = GrantSource.AdminGrant;
cfg.WithInclude(v => v.MissionData);
});
var rewardListEntries = new List<GiftRewardListEntry>();
var now = DateTime.UtcNow;