feat(story): tag finish-reward tx as StoryFinish for acquire history
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -522,7 +522,7 @@ public class StoryService : IStoryService
|
||||
{
|
||||
// Open inventory tx — skip the load entirely when no rewards (narrative-only
|
||||
// chapters where the only side effect is the progress upsert).
|
||||
await using var tx = await _inv.BeginAsync(viewerId);
|
||||
await using var tx = await _inv.BeginAsync(viewerId, configure: cfg => cfg.Source = GrantSource.StoryFinish);
|
||||
|
||||
// reward_list and story_reward_list have DIFFERENT semantics for reward_num:
|
||||
// - reward_list: post-state totals. Client (PlayerStaticData
|
||||
|
||||
Reference in New Issue
Block a user