Use the pusher key read from configuration instead of env file

parent 914c5dc2
......@@ -94,7 +94,7 @@
<script src="{{ Module::asset('notification:js/pusherNotifications.js') }}"></script>
<script>
$(".notifications-list").pusherNotifications({
pusherKey: '{{ env('PUSHER_KEY') }}',
pusherKey: '{{ config('broadcasting.connections.pusher.key') }}',
loggedInUserId: {{ $currentUser->id }}
});
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment