Geting payload in notification object
I am using react hook but i dont get template name and also payload in notification object
import { useNotifications } from '@novu/react/hooks';
can yuo tell me how to get payload. Currently I am trying to develop cusom inbox and need payload data to show content of notification. The body give string value not actual payload.
5 Replies
@son
Currently payload is not sent with notifications. We are working on it and it will be available in few weeks
but it is avilable in older version
Yes, in older version, payload was sent in notification response. New inbox component and associated apis currently does not return this info
ok
just checking older version is stable right
I m using it to create custome inbox
I hope it wont cause any issue
You can use older version if you are blocked due to this. Older version will not get new updates and will deprecate in few months. We will publish migration guide to new inbox component