1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul synced 2024-09-18 01:50:50 +00:00

fix: assign initial loyalty points values correctly

This commit is contained in:
Ash Keel 2023-03-31 10:26:40 +02:00
parent 0262bcea07
commit 8178366038
No known key found for this signature in database
GPG key ID: BAD8D93E7314ED3E
2 changed files with 7 additions and 1 deletions

View file

@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [current]
### Fixed
- The "Give points" dialog will now convert mixed case names to be lowercase instead of adding broken entries.
- The loyalty points entry were assigned incorrectly upon startup, this has been fixed
## [3.1.3] - 2023-03-14
### Changed

View file

@ -114,7 +114,8 @@ func NewManager(db *database.LocalDBClient, twitchManager *twitch.Manager, logge
if err != nil {
return nil, err
}
loyalty.points.SetKey(k, entry)
loyalty.points.SetKey(k[len(PointsPrefix):], entry)
}
// SubscribePrefix for changes