Skip to content

Commit f50b9d1

Browse files
authored
fix: notification click event handling (#170)
1 parent d978aa5 commit f50b9d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/electron-plugin/src/server/api/notification.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ router.post('/', (req, res) => {
4141

4242
notification.on("click", (event) => {
4343
notifyLaravel('events', {
44-
event: eventName,
44+
event: eventName || '\\Native\\Laravel\\Events\\Notifications\\NotificationClicked',
4545
payload: JSON.stringify(event)
4646
});
4747
});

0 commit comments

Comments
 (0)