stacker.news/api
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
..
lnd Add docs for local LND setup 2023-05-19 18:28:46 -05:00
models refine module instantiation 2022-04-27 17:06:42 -05:00
resolvers Fix TypeError during push notifications (#448) 2023-08-28 07:16:34 -05:00
search index item path in search 2022-01-28 13:19:56 -06:00
typeDefs make item creation easier 2023-08-25 13:42:55 -05:00
webPush Enhance logging related to web push (#412) 2023-08-15 12:59:58 -05:00
ssrApollo.js remove slashtags temporarily 2023-08-16 19:49:00 -05:00