stacker.news/api/resolvers
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
..
imgproxy isimage fetch timeout 2023-08-27 13:28:33 -05:00
admin.js snl live banner 2023-06-20 09:57:06 -05:00
growth.js add average comments per post to items analytics 2023-08-14 15:36:54 -05:00
index.js upgrade to prisma 4 2023-07-26 19:18:42 -05:00
invite.js upgrade to prisma 4 2023-07-26 19:18:42 -05:00
item.js Fix TypeError during push notifications (#448) 2023-08-28 07:16:34 -05:00
lnurl.js remove slashtags completely 2023-08-17 13:40:21 -05:00
message.js Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
notifications.js Enhance logging related to web push (#412) 2023-08-15 12:59:58 -05:00
price.js require sub selection, allow editting 2023-05-10 19:30:51 -05:00
referrals.js upgrade to prisma 4 2023-07-26 19:18:42 -05:00
rewards.js multiple forwards on a post (#403) 2023-08-23 17:44:17 -05:00
search.js Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
serial.js Allow zapping, posting and commenting without funds or an account (#336) 2023-08-11 18:50:57 -05:00
sub.js Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
upload.js Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
user.js fix bio 2023-08-27 17:48:46 -05:00
wallet.js Fix expireSecs ignored for anons (#447) 2023-08-28 07:08:29 -05:00