{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/1453","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/1453/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/1453/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/1453/events","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/1453","id":53670022,"number":1453,"title":"Hotfix/GitHub deleted files","user":{"login":"chrisseto","id":5532905,"avatar_url":"https://avatars.githubusercontent.com/u/5532905?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisseto","html_url":"https://github.com/chrisseto","followers_url":"https://api.github.com/users/chrisseto/followers","following_url":"https://api.github.com/users/chrisseto/following{/other_user}","gists_url":"https://api.github.com/users/chrisseto/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisseto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisseto/subscriptions","organizations_url":"https://api.github.com/users/chrisseto/orgs","repos_url":"https://api.github.com/users/chrisseto/repos","events_url":"https://api.github.com/users/chrisseto/events{/privacy}","received_events_url":"https://api.github.com/users/chrisseto/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-07T19:18:30Z","updated_at":"2015-01-12T04:43:37Z","closed_at":"2015-01-12T04:43:26Z","pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/1453","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/1453","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/1453.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/1453.patch"},"body":"# Issue\r\nWhen viewing a github file's revisions, if the file was deleted in that commit that commit will show up as a version of the file even though it does not exist. [Example](https://staging.osf.io/kuj73/?sha=cac34591e098ed35f9196cd36aade86a79c176fe&branch=master)\r\n\r\n# Solution\r\nThe file API will return `None` values, as opposed to an empty file `''`.\r\nIf the file is `None` return a proper message to the user.\r\n\r\nCurrently the message is `This file does not exist at this commit.`"},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments/69529648","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/1453#issuecomment-69529648","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/1453","id":69529648,"user":{"login":"sloria","id":2379650,"avatar_url":"https://avatars.githubusercontent.com/u/2379650?v=3","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T04:43:37Z","updated_at":"2015-01-12T04:43:37Z","body":"Good catch."}}