{"action":"created","issue":{"url":"https://api.github.com/repos/fenos/Notifynder/issues/200","repository_url":"https://api.github.com/repos/fenos/Notifynder","labels_url":"https://api.github.com/repos/fenos/Notifynder/issues/200/labels{/name}","comments_url":"https://api.github.com/repos/fenos/Notifynder/issues/200/comments","events_url":"https://api.github.com/repos/fenos/Notifynder/issues/200/events","html_url":"https://github.com/fenos/Notifynder/issues/200","id":172913321,"number":200,"title":"problem with Notifable trait in user","user":{"login":"mohamed-alashry","id":16100373,"avatar_url":"https://avatars.githubusercontent.com/u/16100373?v=3","gravatar_id":"","url":"https://api.github.com/users/mohamed-alashry","html_url":"https://github.com/mohamed-alashry","followers_url":"https://api.github.com/users/mohamed-alashry/followers","following_url":"https://api.github.com/users/mohamed-alashry/following{/other_user}","gists_url":"https://api.github.com/users/mohamed-alashry/gists{/gist_id}","starred_url":"https://api.github.com/users/mohamed-alashry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohamed-alashry/subscriptions","organizations_url":"https://api.github.com/users/mohamed-alashry/orgs","repos_url":"https://api.github.com/users/mohamed-alashry/repos","events_url":"https://api.github.com/users/mohamed-alashry/events{/privacy}","received_events_url":"https://api.github.com/users/mohamed-alashry/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fenos/Notifynder/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"Gummibeer","id":6187884,"avatar_url":"https://avatars.githubusercontent.com/u/6187884?v=3","gravatar_id":"","url":"https://api.github.com/users/Gummibeer","html_url":"https://github.com/Gummibeer","followers_url":"https://api.github.com/users/Gummibeer/followers","following_url":"https://api.github.com/users/Gummibeer/following{/other_user}","gists_url":"https://api.github.com/users/Gummibeer/gists{/gist_id}","starred_url":"https://api.github.com/users/Gummibeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gummibeer/subscriptions","organizations_url":"https://api.github.com/users/Gummibeer/orgs","repos_url":"https://api.github.com/users/Gummibeer/repos","events_url":"https://api.github.com/users/Gummibeer/events{/privacy}","received_events_url":"https://api.github.com/users/Gummibeer/received_events","type":"User","site_admin":false},"assignees":[{"login":"Gummibeer","id":6187884,"avatar_url":"https://avatars.githubusercontent.com/u/6187884?v=3","gravatar_id":"","url":"https://api.github.com/users/Gummibeer","html_url":"https://github.com/Gummibeer","followers_url":"https://api.github.com/users/Gummibeer/followers","following_url":"https://api.github.com/users/Gummibeer/following{/other_user}","gists_url":"https://api.github.com/users/Gummibeer/gists{/gist_id}","starred_url":"https://api.github.com/users/Gummibeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gummibeer/subscriptions","organizations_url":"https://api.github.com/users/Gummibeer/orgs","repos_url":"https://api.github.com/users/Gummibeer/repos","events_url":"https://api.github.com/users/Gummibeer/events{/privacy}","received_events_url":"https://api.github.com/users/Gummibeer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-08-24T10:06:39Z","updated_at":"2016-08-24T15:41:46Z","closed_at":null,"body":"I have installed Notifynder 3.2 inside my laravel app, for try if it works I have just insert one notification :\r\n\r\n```\r\n $user_sender_id   = 1;\r\n $user_receiver_id = 2;\r\n Notifynder::category('hello')\r\n        ->from($user_sender_id  )\r\n        ->to($user_receiver_id)\r\n        ->url('http://www.yourwebsite.com/page')\r\n        ->send();\r\n```\r\nIt works properly, if I check inside database notification is there.\r\n\r\nThe problem happens when I try to get the notification in that way:\r\n\r\n$user = User::find(2);\r\ndd($user->getNotifications($limit = 10, $paginate = 1, $order = 'desc'));\r\nThe result is that: [Notification result](http://i.stack.imgur.com/AB66I.png)\r\n\r\nThe result is empty, but in database notification exist\r\n\r\nNotification Table\r\n\r\nand if i used\r\n`Notifynder::getAll(2,$limit = null,$paginateBool = null)`\r\ni can get them .\r\n\r\nand i add this in my app/User.php:\r\n\r\n```\r\nuse Fenos\\Notifynder\\Notifable;\r\n\r\nclass User extends Authenticatable\r\n{\r\n\r\n   use Notifable;\r\n\r\n}\r\n```\r\n\r\ncan anyone help me ?"},"comment":{"url":"https://api.github.com/repos/fenos/Notifynder/issues/comments/242111646","html_url":"https://github.com/fenos/Notifynder/issues/200#issuecomment-242111646","issue_url":"https://api.github.com/repos/fenos/Notifynder/issues/200","id":242111646,"user":{"login":"mohamed-alashry","id":16100373,"avatar_url":"https://avatars.githubusercontent.com/u/16100373?v=3","gravatar_id":"","url":"https://api.github.com/users/mohamed-alashry","html_url":"https://github.com/mohamed-alashry","followers_url":"https://api.github.com/users/mohamed-alashry/followers","following_url":"https://api.github.com/users/mohamed-alashry/following{/other_user}","gists_url":"https://api.github.com/users/mohamed-alashry/gists{/gist_id}","starred_url":"https://api.github.com/users/mohamed-alashry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mohamed-alashry/subscriptions","organizations_url":"https://api.github.com/users/mohamed-alashry/orgs","repos_url":"https://api.github.com/users/mohamed-alashry/repos","events_url":"https://api.github.com/users/mohamed-alashry/events{/privacy}","received_events_url":"https://api.github.com/users/mohamed-alashry/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T15:41:46Z","updated_at":"2016-08-24T15:41:46Z","body":"i tried v4 but when i try to create category this execption came up\r\n` There are no commands defined in the \"notifynder:create\" namespace.`"}}
{"actor":{"display_login":"mohamed-alashry"}}