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