feat(achievement): tag receive-reward tx as AchievementReward for acquire history
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -69,7 +69,7 @@ public class AchievementController : SVSimController
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Open inventory tx and grant via InventoryService.
|
// Open inventory tx and grant via InventoryService.
|
||||||
await using var tx = await _inv.BeginAsync(viewerId, ct);
|
await using var tx = await _inv.BeginAsync(viewerId, ct, cfg => cfg.Source = GrantSource.AchievementReward);
|
||||||
|
|
||||||
var granted = await tx.GrantAsync(
|
var granted = await tx.GrantAsync(
|
||||||
catalogRow.RewardType,
|
catalogRow.RewardType,
|
||||||
|
|||||||
Reference in New Issue
Block a user