Skip to content

Commit

Permalink
feat: add key for items hold translation
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobiah committed Apr 10, 2020
1 parent e02b905 commit 99cca82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Reward.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ class Reward {
this.countedItems = data.countedItems ? data.countedItems.map((i) => ({
count: i.ItemCount,
type: translator.languageString(i.ItemType, locale),
key: translator.languageString(i.ItemType),
})) : [];

/**
Expand Down

0 comments on commit 99cca82

Please sign in to comment.