Skip to content

Add Asset_instance_id to notification reward asset#471

Merged
kirre-bylund merged 2 commits into
devfrom
feature/1154-add-asset-instance-id-to-notifications
Jun 1, 2026
Merged

Add Asset_instance_id to notification reward asset#471
kirre-bylund merged 2 commits into
devfrom
feature/1154-add-asset-instance-id-to-notifications

Conversation

@kirre-bylund

Copy link
Copy Markdown
Contributor

Adds Asset_instance_id (int?) to LootLockerNotificationRewardAsset so SDK consumers can correlate a reward notification with the granted inventory entry.

The field is null when no instance was created (e.g. group rewards).

Also adds Assert.IsNotNull(rewardBody.Asset.Asset_instance_id) to the existing notification test, and activates the test asset before creating the reward so the grant actually produces an instance.

Closes #1154

@kirre-bylund kirre-bylund force-pushed the feature/1154-add-asset-instance-id-to-notifications branch from 00e3f90 to 17aa793 Compare June 1, 2026 13:49
@kirre-bylund kirre-bylund merged commit 9a6b983 into dev Jun 1, 2026
56 checks passed
@kirre-bylund kirre-bylund deleted the feature/1154-add-asset-instance-id-to-notifications branch June 1, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant