Merged in fix/SW-3608-make-user-properties-optional (pull request #3133)

fix(SW-3608): make user properties, that are based on audience, optional

* fix(SW-3608): make user properties, that are based on audience, optional

* fix(SW-3608): make user properties, that are based on audience, optional

* .


Approved-by: Anton Gunnarsson
This commit is contained in:
Joakim Jäderberg
2025-11-12 12:20:47 +00:00
parent f8577dd09a
commit 593cb04a5a
2 changed files with 5 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ export function getFriendsMembership(userLoyalty: UserLoyalty) {
if (!friendsMembership) return null
const pointExpiration = loyalty.pointExpirations
const pointExpiration = (loyalty.pointExpirations ?? [])
.sort(
(a, b) => new Date(a.expires).getTime() - new Date(b.expires).getTime()
)