{"action":"created","issue":{"url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/104","repository_url":"https://api.github.com/repos/ga-wdi-boston/game-project","labels_url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/104/comments","events_url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/104/events","html_url":"https://github.com/ga-wdi-boston/game-project/issues/104","id":146432520,"number":104,"title":"Need game id (?) for updating game  object","user":{"login":"OllieBuilds","id":15033849,"avatar_url":"https://avatars.githubusercontent.com/u/15033849?v=3","gravatar_id":"","url":"https://api.github.com/users/OllieBuilds","html_url":"https://github.com/OllieBuilds","followers_url":"https://api.github.com/users/OllieBuilds/followers","following_url":"https://api.github.com/users/OllieBuilds/following{/other_user}","gists_url":"https://api.github.com/users/OllieBuilds/gists{/gist_id}","starred_url":"https://api.github.com/users/OllieBuilds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OllieBuilds/subscriptions","organizations_url":"https://api.github.com/users/OllieBuilds/orgs","repos_url":"https://api.github.com/users/OllieBuilds/repos","events_url":"https://api.github.com/users/OllieBuilds/events{/privacy}","received_events_url":"https://api.github.com/users/OllieBuilds/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-06T20:56:33Z","updated_at":"2016-04-06T22:29:26Z","closed_at":null,"body":"```js\r\nconst updateGame = (success, failure, data) => {\r\n  console.log('update game call');\r\n  $.ajax({\r\n    method: 'PATCH',\r\n    url: app.api + 'games/' +** app.game.id,**\r\n    data,\r\n  }).done(success)\r\n  .fail(failure);\r\n  console.log('Game updated');\r\n};\r\n```\r\n\r\nI can't seem to get the URL correct for updating (PATCH) game status\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/comments/206596640","html_url":"https://github.com/ga-wdi-boston/game-project/issues/104#issuecomment-206596640","issue_url":"https://api.github.com/repos/ga-wdi-boston/game-project/issues/104","id":206596640,"user":{"login":"OllieBuilds","id":15033849,"avatar_url":"https://avatars.githubusercontent.com/u/15033849?v=3","gravatar_id":"","url":"https://api.github.com/users/OllieBuilds","html_url":"https://github.com/OllieBuilds","followers_url":"https://api.github.com/users/OllieBuilds/followers","following_url":"https://api.github.com/users/OllieBuilds/following{/other_user}","gists_url":"https://api.github.com/users/OllieBuilds/gists{/gist_id}","starred_url":"https://api.github.com/users/OllieBuilds/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OllieBuilds/subscriptions","organizations_url":"https://api.github.com/users/OllieBuilds/orgs","repos_url":"https://api.github.com/users/OllieBuilds/repos","events_url":"https://api.github.com/users/OllieBuilds/events{/privacy}","received_events_url":"https://api.github.com/users/OllieBuilds/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T22:29:26Z","updated_at":"2016-04-06T22:29:26Z","body":"400 errors in surplus"}}