{"action":"opened","issue":{"url":"https://api.github.com/repos/zachleigh/laravel-property-bag/issues/21","repository_url":"https://api.github.com/repos/zachleigh/laravel-property-bag","labels_url":"https://api.github.com/repos/zachleigh/laravel-property-bag/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/zachleigh/laravel-property-bag/issues/21/comments","events_url":"https://api.github.com/repos/zachleigh/laravel-property-bag/issues/21/events","html_url":"https://github.com/zachleigh/laravel-property-bag/issues/21","id":370710487,"node_id":"MDU6SXNzdWUzNzA3MTA0ODc=","number":21,"title":"Get users with a particular setting?","user":{"login":"haleyngonadi","id":6877114,"node_id":"MDQ6VXNlcjY4NzcxMTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6877114?v=4","gravatar_id":"","url":"https://api.github.com/users/haleyngonadi","html_url":"https://github.com/haleyngonadi","followers_url":"https://api.github.com/users/haleyngonadi/followers","following_url":"https://api.github.com/users/haleyngonadi/following{/other_user}","gists_url":"https://api.github.com/users/haleyngonadi/gists{/gist_id}","starred_url":"https://api.github.com/users/haleyngonadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haleyngonadi/subscriptions","organizations_url":"https://api.github.com/users/haleyngonadi/orgs","repos_url":"https://api.github.com/users/haleyngonadi/repos","events_url":"https://api.github.com/users/haleyngonadi/events{/privacy}","received_events_url":"https://api.github.com/users/haleyngonadi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-16T17:08:06Z","updated_at":"2018-10-16T17:08:06Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n\r\nThis is a really awesome. Thanks for sharing. I'm wondering, is it possible to retrieve all users with a particular setting through the user Model? I figure the via setting model below could also work but maybe you have a way more efficient way?\r\n\r\n`Setting::where('key', 'music_notifications')->where('value', true)->pluck('owner_id');\r\n`"}}
{"actor":{"display_login":"haleyngonadi"}}