{"action":"created","issue":{"url":"https://api.github.com/repos/octobercms/library/issues/101","labels_url":"https://api.github.com/repos/octobercms/library/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/octobercms/library/issues/101/comments","events_url":"https://api.github.com/repos/octobercms/library/issues/101/events","html_url":"https://github.com/octobercms/library/pull/101","id":68002466,"number":101,"title":"Wrap single model in array in push(), fixes #1067 in octobercms/october","user":{"login":"pfrend","id":439344,"avatar_url":"https://avatars.githubusercontent.com/u/439344?v=3","gravatar_id":"","url":"https://api.github.com/users/pfrend","html_url":"https://github.com/pfrend","followers_url":"https://api.github.com/users/pfrend/followers","following_url":"https://api.github.com/users/pfrend/following{/other_user}","gists_url":"https://api.github.com/users/pfrend/gists{/gist_id}","starred_url":"https://api.github.com/users/pfrend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pfrend/subscriptions","organizations_url":"https://api.github.com/users/pfrend/orgs","repos_url":"https://api.github.com/users/pfrend/repos","events_url":"https://api.github.com/users/pfrend/events{/privacy}","received_events_url":"https://api.github.com/users/pfrend/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-13T04:14:46Z","updated_at":"2015-04-14T22:05:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/octobercms/library/pulls/101","html_url":"https://github.com/octobercms/library/pull/101","diff_url":"https://github.com/octobercms/library/pull/101.diff","patch_url":"https://github.com/octobercms/library/pull/101.patch"},"body":"Wrap single model in array instead of casting which creates array of all model fields, meaning push will fail."},"comment":{"url":"https://api.github.com/repos/octobercms/library/issues/comments/93084823","html_url":"https://github.com/octobercms/library/pull/101#issuecomment-93084823","issue_url":"https://api.github.com/repos/octobercms/library/issues/101","id":93084823,"user":{"login":"daftspunk","id":1392869,"avatar_url":"https://avatars.githubusercontent.com/u/1392869?v=3","gravatar_id":"","url":"https://api.github.com/users/daftspunk","html_url":"https://github.com/daftspunk","followers_url":"https://api.github.com/users/daftspunk/followers","following_url":"https://api.github.com/users/daftspunk/following{/other_user}","gists_url":"https://api.github.com/users/daftspunk/gists{/gist_id}","starred_url":"https://api.github.com/users/daftspunk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daftspunk/subscriptions","organizations_url":"https://api.github.com/users/daftspunk/orgs","repos_url":"https://api.github.com/users/daftspunk/repos","events_url":"https://api.github.com/users/daftspunk/events{/privacy}","received_events_url":"https://api.github.com/users/daftspunk/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T22:05:06Z","updated_at":"2015-04-14T22:05:06Z","body":"We need to check if it is a model before doing this, in case it is an array of models. I will amend."}}