ekzyis 4a0e615d7d
Fix TypeError during push notifications (#448)
Without this, following error is thrown when notifying users about new replies:

[webPush] error sending user notification:  TypeError: Cannot read properties of undefined (reading 'id')
app  |     at createItemUrl (webpack-internal:///(api)/./api/webPush/index.js:76:29)
app  |     at async sendUserNotification (webpack-internal:///(api)/./api/webPush/index.js:125:33)
app  |     at async Promise.allSettled (index 0)

Co-authored-by: ekzyis <ek@stacker.news>
2023-08-28 07:16:34 -05:00
..
2023-08-27 13:28:33 -05:00
2023-06-20 09:57:06 -05:00
2023-07-26 19:18:42 -05:00
2023-07-26 19:18:42 -05:00
2023-08-17 13:40:21 -05:00
2023-05-10 19:30:51 -05:00
2023-07-26 19:18:42 -05:00
2023-08-23 17:44:17 -05:00
2023-08-27 17:48:46 -05:00