From c2c3abc6f0594696a4f2479787175f1ee7f97452 Mon Sep 17 00:00:00 2001 From: gamer147 Date: Tue, 9 Jun 2026 15:08:27 -0400 Subject: [PATCH] feat(gift): tag receive-gift tx as AdminGrant for acquire history Co-Authored-By: Claude Sonnet 4.6 --- SVSim.EmulatedEntrypoint/Controllers/GiftController.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/SVSim.EmulatedEntrypoint/Controllers/GiftController.cs b/SVSim.EmulatedEntrypoint/Controllers/GiftController.cs index 449add5..fe89173 100644 --- a/SVSim.EmulatedEntrypoint/Controllers/GiftController.cs +++ b/SVSim.EmulatedEntrypoint/Controllers/GiftController.cs @@ -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(); var now = DateTime.UtcNow;