{"action":"created","issue":{"url":"https://api.github.com/repos/zerocracy/farm/issues/715","repository_url":"https://api.github.com/repos/zerocracy/farm","labels_url":"https://api.github.com/repos/zerocracy/farm/issues/715/labels{/name}","comments_url":"https://api.github.com/repos/zerocracy/farm/issues/715/comments","events_url":"https://api.github.com/repos/zerocracy/farm/issues/715/events","html_url":"https://github.com/zerocracy/farm/issues/715","id":302008530,"number":715,"title":"Awards ctor should accept Pmo, not Project","user":{"login":"amihaiemil","id":6305156,"avatar_url":"https://avatars0.githubusercontent.com/u/6305156?v=4","gravatar_id":"","url":"https://api.github.com/users/amihaiemil","html_url":"https://github.com/amihaiemil","followers_url":"https://api.github.com/users/amihaiemil/followers","following_url":"https://api.github.com/users/amihaiemil/following{/other_user}","gists_url":"https://api.github.com/users/amihaiemil/gists{/gist_id}","starred_url":"https://api.github.com/users/amihaiemil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amihaiemil/subscriptions","organizations_url":"https://api.github.com/users/amihaiemil/orgs","repos_url":"https://api.github.com/users/amihaiemil/repos","events_url":"https://api.github.com/users/amihaiemil/events{/privacy}","received_events_url":"https://api.github.com/users/amihaiemil/received_events","type":"User","site_admin":false},"labels":[{"id":492725900,"url":"https://api.github.com/repos/zerocracy/farm/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":20,"created_at":"2018-03-03T15:52:15Z","updated_at":"2018-05-10T08:50:45Z","closed_at":"2018-05-10T08:02:36Z","author_association":"CONTRIBUTOR","body":"As explained [here](https://github.com/zerocracy/farm/pull/672#issuecomment-370140494), the awards are global, not per project. They can be read either from PMO or directly from Farm.\r\n\r\nHowever, one ctor of Awards accepts Project (Pmo implements Project) -- this is not correct and leads to misuse of that class (as I just did in the PR referenced above). Awards should accept only Pmo, not just any type of Project; the class' parameter name, ``this.pmo``, also suggests that."},"comment":{"url":"https://api.github.com/repos/zerocracy/farm/issues/comments/387994283","html_url":"https://github.com/zerocracy/farm/issues/715#issuecomment-387994283","issue_url":"https://api.github.com/repos/zerocracy/farm/issues/715","id":387994283,"user":{"login":"ypshenychka","id":11703257,"avatar_url":"https://avatars3.githubusercontent.com/u/11703257?v=4","gravatar_id":"","url":"https://api.github.com/users/ypshenychka","html_url":"https://github.com/ypshenychka","followers_url":"https://api.github.com/users/ypshenychka/followers","following_url":"https://api.github.com/users/ypshenychka/following{/other_user}","gists_url":"https://api.github.com/users/ypshenychka/gists{/gist_id}","starred_url":"https://api.github.com/users/ypshenychka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ypshenychka/subscriptions","organizations_url":"https://api.github.com/users/ypshenychka/orgs","repos_url":"https://api.github.com/users/ypshenychka/repos","events_url":"https://api.github.com/users/ypshenychka/events{/privacy}","received_events_url":"https://api.github.com/users/ypshenychka/received_events","type":"User","site_admin":false},"created_at":"2018-05-10T08:50:45Z","updated_at":"2018-05-10T08:50:45Z","author_association":"NONE","body":"@0crat quality good"}}
{"actor":{"display_login":"ypshenychka"}}