Skip to content

Commit f70ed20

Browse files
committed
fix: tests
1 parent 655e87e commit f70ed20

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/server/features/push-register-logic.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ async function registerNotificationSettingsWithServer(
4545

4646
let refs = root.root.notificationSettingsRefs!
4747

48-
let existingRef = refs
49-
.values()
50-
.find(ref => ref?.notificationSettings?.$jazz.id === notificationSettingsId)
48+
let existingRef = Array.from(refs.values()).find(
49+
ref => ref?.notificationSettings?.$jazz.id === notificationSettingsId,
50+
)
5151

5252
if (existingRef) {
5353
existingRef.$jazz.set("lastSyncedAt", new Date())

0 commit comments

Comments
 (0)