Notification actions in multitenancy doesn't work #6212
Replies: 1 comment
-
Released with Laravel Nova 5.0.0 Feel free to open up a new issue if you're still experiencing this problem on the latest version. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description:
If Nova is being used for multitenancy web applications, notification actions don't work as expected.
After receiving a notification there are 4 possibilities for what a person can do:
Bulk actions work as expected, but the single action response is "404 Notification not found".
The issue is in NotificationReadController and NotificationDeleteController, parameter $notification is not type hinted therefore $notification value is actually subdomain value.
Request URL is {subdomain}.localhost/nova-api/nova-notifications/{notification} and {subdomain}.localhost/nova-api/nova-notifications/{notification}/read
Beta Was this translation helpful? Give feedback.
All reactions