{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/fxa-profile-server/issues/94","labels_url":"https://api.github.com/repos/mozilla/fxa-profile-server/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/fxa-profile-server/issues/94/comments","events_url":"https://api.github.com/repos/mozilla/fxa-profile-server/issues/94/events","html_url":"https://github.com/mozilla/fxa-profile-server/issues/94","id":57522035,"number":94,"title":"POST /avatar/upload should delete the user's previous avatar from S3","user":{"login":"ckarlof","id":2365255,"avatar_url":"https://avatars.githubusercontent.com/u/2365255?v=3","gravatar_id":"","url":"https://api.github.com/users/ckarlof","html_url":"https://github.com/ckarlof","followers_url":"https://api.github.com/users/ckarlof/followers","following_url":"https://api.github.com/users/ckarlof/following{/other_user}","gists_url":"https://api.github.com/users/ckarlof/gists{/gist_id}","starred_url":"https://api.github.com/users/ckarlof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckarlof/subscriptions","organizations_url":"https://api.github.com/users/ckarlof/orgs","repos_url":"https://api.github.com/users/ckarlof/repos","events_url":"https://api.github.com/users/ckarlof/events{/privacy}","received_events_url":"https://api.github.com/users/ckarlof/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mozilla/fxa-profile-server/labels/waffle:backlog","name":"waffle:backlog","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"seanmonstar","id":51479,"avatar_url":"https://avatars.githubusercontent.com/u/51479?v=3","gravatar_id":"","url":"https://api.github.com/users/seanmonstar","html_url":"https://github.com/seanmonstar","followers_url":"https://api.github.com/users/seanmonstar/followers","following_url":"https://api.github.com/users/seanmonstar/following{/other_user}","gists_url":"https://api.github.com/users/seanmonstar/gists{/gist_id}","starred_url":"https://api.github.com/users/seanmonstar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanmonstar/subscriptions","organizations_url":"https://api.github.com/users/seanmonstar/orgs","repos_url":"https://api.github.com/users/seanmonstar/repos","events_url":"https://api.github.com/users/seanmonstar/events{/privacy}","received_events_url":"https://api.github.com/users/seanmonstar/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-02-12T21:27:05Z","updated_at":"2015-09-30T08:14:02Z","closed_at":null,"body":"Alternately, [the client could delete it](https://github.com/mozilla/fxa-profile-server/pull/90#issuecomment-73764331), but that's less reliable and I think we'll end up with a bunch of orphaned images.\r\n\r\nThis also means we only support one image per account, but that's all our front UI allows right now anyway."},"comment":{"url":"https://api.github.com/repos/mozilla/fxa-profile-server/issues/comments/144322591","html_url":"https://github.com/mozilla/fxa-profile-server/issues/94#issuecomment-144322591","issue_url":"https://api.github.com/repos/mozilla/fxa-profile-server/issues/94","id":144322591,"user":{"login":"rfk","id":34695,"avatar_url":"https://avatars.githubusercontent.com/u/34695?v=3","gravatar_id":"","url":"https://api.github.com/users/rfk","html_url":"https://github.com/rfk","followers_url":"https://api.github.com/users/rfk/followers","following_url":"https://api.github.com/users/rfk/following{/other_user}","gists_url":"https://api.github.com/users/rfk/gists{/gist_id}","starred_url":"https://api.github.com/users/rfk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfk/subscriptions","organizations_url":"https://api.github.com/users/rfk/orgs","repos_url":"https://api.github.com/users/rfk/repos","events_url":"https://api.github.com/users/rfk/events{/privacy}","received_events_url":"https://api.github.com/users/rfk/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T08:14:02Z","updated_at":"2015-09-30T08:14:02Z","body":"@seanmonstar IIUC we properly support multiple avatars and have little risk of leaving orphans, do you think we can just close this one out?"}}