ninadk
NNovu
•Created by ninadk on 4/2/2024 in #💬│support
Delete subscriber does not delete their notifications
Sure. Environment id:
659fb61f76272e378b87e463
, subscriber id 4
.9 replies
NNovu
•Created by ninadk on 4/2/2024 in #💬│support
Delete subscriber does not delete their notifications
Here's my code including how I re-create the subscribers after deleting.
9 replies
NNovu
•Created by ninadk on 3/17/2024 in #💬│support
User avatar not uploaded
I tried updating the
lastName
this time, but it didn't work.30 replies
NNovu
•Created by ninadk on 3/17/2024 in #💬│support
User avatar not uploaded
Still no lack... Here's the updated code:
And what
subscriberInfo
looks like:
The image URL is random.30 replies
NNovu
•Created by ninadk on 3/17/2024 in #💬│support
User avatar not uploaded
Could you help me out re the
fetch
call? Am I doing something wrong there?30 replies
NNovu
•Created by ninadk on 3/17/2024 in #💬│support
User avatar not uploaded
Good to know! It's a valid url though.
30 replies
NNovu
•Created by ninadk on 3/17/2024 in #💬│support
User avatar not uploaded
It is valid.
And the other information is not updated either with the
fetch
.30 replies
NNovu
•Created by ninadk on 3/17/2024 in #💬│support
User avatar not uploaded
Yes I just checked. Though i wasn't able to do the same using a fetch request programmatically:
30 replies
NNovu
•Created by ninadk on 3/17/2024 in #💬│support
User avatar not uploaded
That worked! I tried it directly on your website. Should I use a fetch instead of the
update
method then?30 replies
NNovu
•Created by ninadk on 3/17/2024 in #💬│support
User avatar not uploaded
I just tried again. I can see the other information I'm updating on my subscribers dashboard, but not the avatar.
30 replies
NNovu
•Created by ninadk on 3/17/2024 in #💬│support
User avatar not uploaded
Yes, I did. This could be because every time I re-seed the database I also delete all subscribers and re-create them.
30 replies
NNovu
•Created by ninadk on 3/17/2024 in #💬│support
User avatar not uploaded
sure 659fb61f76272e378b87e463
30 replies
NNovu
•Created by ninadk on 3/17/2024 in #💬│support
User avatar not uploaded
This is my code for triggering the notification:
I believe the issue is that the avatar doesn't even get set, though, as shown in the return of the
update
method I pasted above (3rd snippet).30 replies
NNovu
•Created by ninadk on 1/15/2024 in #💬│support
Hide action buttons after click
thank you, that worked! I also removed QueryClientProvider altogether, afterwords, it seems it's not necessary anymore.
8 replies
NNovu
•Created by ninadk on 1/15/2024 in #💬│support
Hide action buttons after click
Thank you for your response! I added the code as suggested to mark the action as done after a click, but it still seemed to only remove the buttons when I marked the notifications as read. I opted to mark the notification as read programmatically after the action button is clicked, and bumped into this error:
No QueryClient set, use QueryClientProvider to set one
. After wrapping the application with QueryClientProvider
it doesn't seem to go away. Any ideas?
8 replies