{"action":"created","issue":{"url":"https://api.github.com/repos/fenos/Notifynder/issues/34","labels_url":"https://api.github.com/repos/fenos/Notifynder/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/fenos/Notifynder/issues/34/comments","events_url":"https://api.github.com/repos/fenos/Notifynder/issues/34/events","html_url":"https://github.com/fenos/Notifynder/issues/34","id":78726030,"number":34,"title":"No items","user":{"login":"DarioCalovic","id":12536204,"avatar_url":"https://avatars.githubusercontent.com/u/12536204?v=3","gravatar_id":"","url":"https://api.github.com/users/DarioCalovic","html_url":"https://github.com/DarioCalovic","followers_url":"https://api.github.com/users/DarioCalovic/followers","following_url":"https://api.github.com/users/DarioCalovic/following{/other_user}","gists_url":"https://api.github.com/users/DarioCalovic/gists{/gist_id}","starred_url":"https://api.github.com/users/DarioCalovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarioCalovic/subscriptions","organizations_url":"https://api.github.com/users/DarioCalovic/orgs","repos_url":"https://api.github.com/users/DarioCalovic/repos","events_url":"https://api.github.com/users/DarioCalovic/events{/privacy}","received_events_url":"https://api.github.com/users/DarioCalovic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-20T22:28:39Z","updated_at":"2015-05-20T22:34:37Z","closed_at":null,"body":"Hey there\r\n\r\nI am really excited about your project here, but i'm having issues with it. I tried this code sample here:\r\n\r\n$user_sender_id   = 1; // User sender\r\n$user_receiver_id = 2; // User that receive the notification\r\n\r\nNotifynder::category('hello')\r\n           ->from($user_sender_id)\r\n           ->to($user_receiver_id)\r\n           ->url('http://localhost')\r\n           ->send();\r\n\r\n// we sent the notification!\r\n// now let's check it\r\n\r\n$userNotified = User::find($user_receiver_id);\r\n\r\n// Return Illuminate\\Database\\Eloquent\\Collection \r\n// with the notifications in it\r\n\r\ndd($userNotified->getNotificationsNotRead());\r\n\r\nThe notification will be saved in the mysql database, but the result / print is an empty array. Seems like the notification is not connected with my user table correctly. Any idea why?"},"comment":{"url":"https://api.github.com/repos/fenos/Notifynder/issues/comments/104062944","html_url":"https://github.com/fenos/Notifynder/issues/34#issuecomment-104062944","issue_url":"https://api.github.com/repos/fenos/Notifynder/issues/34","id":104062944,"user":{"login":"fenos","id":4754064,"avatar_url":"https://avatars.githubusercontent.com/u/4754064?v=3","gravatar_id":"","url":"https://api.github.com/users/fenos","html_url":"https://github.com/fenos","followers_url":"https://api.github.com/users/fenos/followers","following_url":"https://api.github.com/users/fenos/following{/other_user}","gists_url":"https://api.github.com/users/fenos/gists{/gist_id}","starred_url":"https://api.github.com/users/fenos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fenos/subscriptions","organizations_url":"https://api.github.com/users/fenos/orgs","repos_url":"https://api.github.com/users/fenos/repos","events_url":"https://api.github.com/users/fenos/events{/privacy}","received_events_url":"https://api.github.com/users/fenos/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T22:34:37Z","updated_at":"2015-05-20T22:34:37Z","body":"Thanks for submitting the issue, i see the problem i'm submitting a fix for it :+1: "}}