payload: {"action":"created","comment":{"url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/pulls/comments/310694022","pull_request_review_id":270882162,"id":310694022,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMxMDY5NDAyMg==","diff_hunk":"@@ -8,7 +8,8 @@\n use Mix.Config\n \n config :rebay_api,\n-  ecto_repos: [RebayApi.Repo]\n+  ecto_repos: [RebayApi.Repo],\n+  client_host: System.get_env(\"CLIENT_HOST\")","path":"config/config.exs","position":6,"original_position":6,"commit_id":"c7091bcdb8e977f53ad680f17d014e6db56db4e4","original_commit_id":"c7091bcdb8e977f53ad680f17d014e6db56db4e4","user":{"login":"zacholauson","id":3671762,"node_id":"MDQ6VXNlcjM2NzE3NjI=","avatar_url":"https://avatars1.githubusercontent.com/u/3671762?v=4","gravatar_id":"","url":"https://api.github.com/users/zacholauson","html_url":"https://github.com/zacholauson","followers_url":"https://api.github.com/users/zacholauson/followers","following_url":"https://api.github.com/users/zacholauson/following{/other_user}","gists_url":"https://api.github.com/users/zacholauson/gists{/gist_id}","starred_url":"https://api.github.com/users/zacholauson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacholauson/subscriptions","organizations_url":"https://api.github.com/users/zacholauson/orgs","repos_url":"https://api.github.com/users/zacholauson/repos","events_url":"https://api.github.com/users/zacholauson/events{/privacy}","received_events_url":"https://api.github.com/users/zacholauson/received_events","type":"User","site_admin":false},"body":"Ah right on, I wasn't understanding this correctly then. ","created_at":"2019-08-05T16:42:42Z","updated_at":"2019-08-05T16:42:42Z","html_url":"https://github.com/rebay-8th-light-ebay-clone/rebay_api/pull/10#discussion_r310694022","pull_request_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/pulls/10","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/pulls/comments/310694022"},"html":{"href":"https://github.com/rebay-8th-light-ebay-clone/rebay_api/pull/10#discussion_r310694022"},"pull_request":{"href":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/pulls/10"}},"in_reply_to_id":310283623},"pull_request":{"url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/pulls/10","id":302775562,"node_id":"MDExOlB1bGxSZXF1ZXN0MzAyNzc1NTYy","html_url":"https://github.com/rebay-8th-light-ebay-clone/rebay_api/pull/10","diff_url":"https://github.com/rebay-8th-light-ebay-clone/rebay_api/pull/10.diff","patch_url":"https://github.com/rebay-8th-light-ebay-clone/rebay_api/pull/10.patch","issue_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/issues/10","number":10,"state":"open","locked":false,"title":"Feature/create bids","user":{"login":"serpient","id":29721784,"node_id":"MDQ6VXNlcjI5NzIxNzg0","avatar_url":"https://avatars0.githubusercontent.com/u/29721784?v=4","gravatar_id":"","url":"https://api.github.com/users/serpient","html_url":"https://github.com/serpient","followers_url":"https://api.github.com/users/serpient/followers","following_url":"https://api.github.com/users/serpient/following{/other_user}","gists_url":"https://api.github.com/users/serpient/gists{/gist_id}","starred_url":"https://api.github.com/users/serpient/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serpient/subscriptions","organizations_url":"https://api.github.com/users/serpient/orgs","repos_url":"https://api.github.com/users/serpient/repos","events_url":"https://api.github.com/users/serpient/events{/privacy}","received_events_url":"https://api.github.com/users/serpient/received_events","type":"User","site_admin":false},"body":"# Things Done\r\n- Created Bids Resource and Routes\r\n- Added authentication and authorization layers to Index and Create controller actions\r\n- Removed unused user, item and bid controller actions, tests, and routes\r\n\r\n# Current Routes\r\n```bash\r\n     user_path  GET     /api/users                         RebayApiWeb.UserController :index\r\n     user_path  GET     /api/users/:uuid                   RebayApiWeb.UserController :show\r\n     user_path  POST    /api/users                         RebayApiWeb.UserController :create\r\nuser_item_path  GET     /api/users/:user_uuid/items        RebayApiWeb.ItemController :index\r\nuser_item_path  GET     /api/users/:user_uuid/items/:uuid  RebayApiWeb.ItemController :show\r\nuser_item_path  POST    /api/users/:user_uuid/items        RebayApiWeb.ItemController :create\r\nuser_item_path  PATCH   /api/users/:user_uuid/items/:uuid  RebayApiWeb.ItemController :update\r\n                PUT     /api/users/:user_uuid/items/:uuid  RebayApiWeb.ItemController :update\r\nuser_item_path  DELETE  /api/users/:user_uuid/items/:uuid  RebayApiWeb.ItemController :delete\r\n user_bid_path  GET     /api/users/:user_uuid/bids         RebayApiWeb.BidController :index_by_user\r\n     item_path  GET     /api/items                         RebayApiWeb.ItemController :index\r\n item_bid_path  GET     /api/items/:item_uuid/bids/:uuid   RebayApiWeb.BidController :show\r\n item_bid_path  POST    /api/items/:item_uuid/bids         RebayApiWeb.BidController :create\r\n item_bid_path  GET     /api/items/:item_uuid/bids         RebayApiWeb.BidController :index_by_item\r\n  session_path  GET     /auth/signout                      RebayApiWeb.SessionController :delete\r\n  session_path  GET     /auth/:provider                    RebayApiWeb.SessionController :request\r\n  session_path  GET     /auth/:provider/callback           RebayApiWeb.SessionController :create\r\n     websocket  WS      /socket/websocket                  RebayApiWeb.UserSocket\r\n```","created_at":"2019-07-31T03:51:55Z","updated_at":"2019-08-05T16:42:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4841cbfc692b06fc589b5ccbeb6a18c4ea6468af","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/pulls/10/commits","review_comments_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/pulls/10/comments","review_comment_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/issues/10/comments","statuses_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/statuses/c7091bcdb8e977f53ad680f17d014e6db56db4e4","head":{"label":"rebay-8th-light-ebay-clone:feature/create_bids","ref":"feature/create_bids","sha":"c7091bcdb8e977f53ad680f17d014e6db56db4e4","user":{"login":"rebay-8th-light-ebay-clone","id":52939995,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyOTM5OTk1","avatar_url":"https://avatars2.githubusercontent.com/u/52939995?v=4","gravatar_id":"","url":"https://api.github.com/users/rebay-8th-light-ebay-clone","html_url":"https://github.com/rebay-8th-light-ebay-clone","followers_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/followers","following_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/following{/other_user}","gists_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/gists{/gist_id}","starred_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/subscriptions","organizations_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/orgs","repos_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/repos","events_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/events{/privacy}","received_events_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/received_events","type":"Organization","site_admin":false},"repo":{"id":197086354,"node_id":"MDEwOlJlcG9zaXRvcnkxOTcwODYzNTQ=","name":"rebay_api","full_name":"rebay-8th-light-ebay-clone/rebay_api","private":false,"owner":{"login":"rebay-8th-light-ebay-clone","id":52939995,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyOTM5OTk1","avatar_url":"https://avatars2.githubusercontent.com/u/52939995?v=4","gravatar_id":"","url":"https://api.github.com/users/rebay-8th-light-ebay-clone","html_url":"https://github.com/rebay-8th-light-ebay-clone","followers_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/followers","following_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/following{/other_user}","gists_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/gists{/gist_id}","starred_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/subscriptions","organizations_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/orgs","repos_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/repos","events_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/events{/privacy}","received_events_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rebay-8th-light-ebay-clone/rebay_api","description":null,"fork":false,"url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api","forks_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/forks","keys_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/teams","hooks_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/hooks","issue_events_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/issues/events{/number}","events_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/events","assignees_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/assignees{/user}","branches_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/branches{/branch}","tags_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/tags","blobs_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/statuses/{sha}","languages_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/languages","stargazers_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/stargazers","contributors_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/contributors","subscribers_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/subscribers","subscription_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/subscription","commits_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/contents/{+path}","compare_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/merges","archive_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/downloads","issues_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/issues{/number}","pulls_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/pulls{/number}","milestones_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/milestones{/number}","notifications_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/labels{/name}","releases_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/releases{/id}","deployments_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/deployments","created_at":"2019-07-15T23:37:54Z","updated_at":"2019-08-01T21:51:51Z","pushed_at":"2019-08-02T22:54:52Z","git_url":"git://github.com/rebay-8th-light-ebay-clone/rebay_api.git","ssh_url":"git@github.com:rebay-8th-light-ebay-clone/rebay_api.git","clone_url":"https://github.com/rebay-8th-light-ebay-clone/rebay_api.git","svn_url":"https://github.com/rebay-8th-light-ebay-clone/rebay_api","homepage":"https://rebay-api.herokuapp.com/api/","size":7956,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"rebay-8th-light-ebay-clone:master","ref":"master","sha":"b4ddaa8b2520de2844210ee6662ac3b76419641c","user":{"login":"rebay-8th-light-ebay-clone","id":52939995,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyOTM5OTk1","avatar_url":"https://avatars2.githubusercontent.com/u/52939995?v=4","gravatar_id":"","url":"https://api.github.com/users/rebay-8th-light-ebay-clone","html_url":"https://github.com/rebay-8th-light-ebay-clone","followers_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/followers","following_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/following{/other_user}","gists_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/gists{/gist_id}","starred_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/subscriptions","organizations_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/orgs","repos_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/repos","events_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/events{/privacy}","received_events_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/received_events","type":"Organization","site_admin":false},"repo":{"id":197086354,"node_id":"MDEwOlJlcG9zaXRvcnkxOTcwODYzNTQ=","name":"rebay_api","full_name":"rebay-8th-light-ebay-clone/rebay_api","private":false,"owner":{"login":"rebay-8th-light-ebay-clone","id":52939995,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUyOTM5OTk1","avatar_url":"https://avatars2.githubusercontent.com/u/52939995?v=4","gravatar_id":"","url":"https://api.github.com/users/rebay-8th-light-ebay-clone","html_url":"https://github.com/rebay-8th-light-ebay-clone","followers_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/followers","following_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/following{/other_user}","gists_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/gists{/gist_id}","starred_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/subscriptions","organizations_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/orgs","repos_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/repos","events_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/events{/privacy}","received_events_url":"https://api.github.com/users/rebay-8th-light-ebay-clone/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rebay-8th-light-ebay-clone/rebay_api","description":null,"fork":false,"url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api","forks_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/forks","keys_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/teams","hooks_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/hooks","issue_events_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/issues/events{/number}","events_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/events","assignees_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/assignees{/user}","branches_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/branches{/branch}","tags_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/tags","blobs_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/statuses/{sha}","languages_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/languages","stargazers_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/stargazers","contributors_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/contributors","subscribers_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/subscribers","subscription_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/subscription","commits_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/contents/{+path}","compare_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/merges","archive_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/downloads","issues_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/issues{/number}","pulls_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/pulls{/number}","milestones_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/milestones{/number}","notifications_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/labels{/name}","releases_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/releases{/id}","deployments_url":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/deployments","created_at":"2019-07-15T23:37:54Z","updated_at":"2019-08-01T21:51:51Z","pushed_at":"2019-08-02T22:54:52Z","git_url":"git://github.com/rebay-8th-light-ebay-clone/rebay_api.git","ssh_url":"git@github.com:rebay-8th-light-ebay-clone/rebay_api.git","clone_url":"https://github.com/rebay-8th-light-ebay-clone/rebay_api.git","svn_url":"https://github.com/rebay-8th-light-ebay-clone/rebay_api","homepage":"https://rebay-api.herokuapp.com/api/","size":7956,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":3,"license":null,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/pulls/10"},"html":{"href":"https://github.com/rebay-8th-light-ebay-clone/rebay_api/pull/10"},"issue":{"href":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/issues/10"},"comments":{"href":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/rebay-8th-light-ebay-clone/rebay_api/statuses/c7091bcdb8e977f53ad680f17d014e6db56db4e4"}},"author_association":"MEMBER"}}
other: {"actor":{"display_login":"zacholauson"}}