{"action":"opened","issue":{"url":"https://api.github.com/repos/jmatheson/OnMe-Backend/issues/14","repository_url":"https://api.github.com/repos/jmatheson/OnMe-Backend","labels_url":"https://api.github.com/repos/jmatheson/OnMe-Backend/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/jmatheson/OnMe-Backend/issues/14/comments","events_url":"https://api.github.com/repos/jmatheson/OnMe-Backend/issues/14/events","html_url":"https://github.com/jmatheson/OnMe-Backend/issues/14","id":214122287,"number":14,"title":"Outsider drinks","user":{"login":"volkzayaz","id":3834896,"avatar_url":"https://avatars1.githubusercontent.com/u/3834896?v=3","gravatar_id":"","url":"https://api.github.com/users/volkzayaz","html_url":"https://github.com/volkzayaz","followers_url":"https://api.github.com/users/volkzayaz/followers","following_url":"https://api.github.com/users/volkzayaz/following{/other_user}","gists_url":"https://api.github.com/users/volkzayaz/gists{/gist_id}","starred_url":"https://api.github.com/users/volkzayaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/volkzayaz/subscriptions","organizations_url":"https://api.github.com/users/volkzayaz/orgs","repos_url":"https://api.github.com/users/volkzayaz/repos","events_url":"https://api.github.com/users/volkzayaz/events{/privacy}","received_events_url":"https://api.github.com/users/volkzayaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"kostya-p-dev","id":15714195,"avatar_url":"https://avatars2.githubusercontent.com/u/15714195?v=3","gravatar_id":"","url":"https://api.github.com/users/kostya-p-dev","html_url":"https://github.com/kostya-p-dev","followers_url":"https://api.github.com/users/kostya-p-dev/followers","following_url":"https://api.github.com/users/kostya-p-dev/following{/other_user}","gists_url":"https://api.github.com/users/kostya-p-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/kostya-p-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kostya-p-dev/subscriptions","organizations_url":"https://api.github.com/users/kostya-p-dev/orgs","repos_url":"https://api.github.com/users/kostya-p-dev/repos","events_url":"https://api.github.com/users/kostya-p-dev/events{/privacy}","received_events_url":"https://api.github.com/users/kostya-p-dev/received_events","type":"User","site_admin":false},"assignees":[{"login":"kostya-p-dev","id":15714195,"avatar_url":"https://avatars2.githubusercontent.com/u/15714195?v=3","gravatar_id":"","url":"https://api.github.com/users/kostya-p-dev","html_url":"https://github.com/kostya-p-dev","followers_url":"https://api.github.com/users/kostya-p-dev/followers","following_url":"https://api.github.com/users/kostya-p-dev/following{/other_user}","gists_url":"https://api.github.com/users/kostya-p-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/kostya-p-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kostya-p-dev/subscriptions","organizations_url":"https://api.github.com/users/kostya-p-dev/orgs","repos_url":"https://api.github.com/users/kostya-p-dev/repos","events_url":"https://api.github.com/users/kostya-p-dev/events{/privacy}","received_events_url":"https://api.github.com/users/kostya-p-dev/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-03-14T16:06:17Z","updated_at":"2017-03-14T16:06:17Z","closed_at":null,"body":"Currently when we request `api/drinks/i_bought/` we receive drinks for outsider users as well. That's the correct behavior. However such drinks with `recipient` field equal to `null` have no information about recipient at all. Which looks like this:\r\n\r\n![screen shot 2017-03-14 at 18 03 41](https://cloud.githubusercontent.com/assets/3834896/23909876/96ada620-08e0-11e7-8538-aa7aa0e132e1.png)\r\n\r\nWe need to be able to display information about receiver that we used during drink creation.\r\nFrom the top of my head we can include nullable `outsiderReceiverHash` value into response for drink related APIs. In this case client will be responsible for showing receiver name or hash.\r\n\r\nOther suggestions are welcomed."}}
{"actor":{"display_login":"volkzayaz"}}