{"action":"created","comment":{"url":"https://api.github.com/repos/neontribe/ARCVMarket/pulls/comments/114814091","pull_request_review_id":36305243,"id":114814091,"diff_hunk":"@@ -1,14 +1,90 @@\n+import axios from 'axios';\n+import Config from './config.js';\n \n var store = {\n     config  : {},\n-    user    : {},\n-    trader  : {},\n+    user    : {\"id\" : 1},\n+    trader  : {\"id\" : 1},\n     vouchers: [],\n+    serverVouchers: []\n };\n \n-store.addVoucherCode = function(voucherCode)\n-{\n-    return this.vouchers.push(voucherCode);\n+store.getServerVouchers = function() {\n+    if (!navigator.onLine) {\n+        return false;\n+    }\n+    this.apiGet('traders/1/vouchers', function(response) {","path":"src/store.js","position":21,"original_position":21,"commit_id":"3261dfca0873e7ba2a0643156da48dbbac0d321d","original_commit_id":"3261dfca0873e7ba2a0643156da48dbbac0d321d","user":{"login":"katjam","id":861172,"avatar_url":"https://avatars0.githubusercontent.com/u/861172?v=3","gravatar_id":"","url":"https://api.github.com/users/katjam","html_url":"https://github.com/katjam","followers_url":"https://api.github.com/users/katjam/followers","following_url":"https://api.github.com/users/katjam/following{/other_user}","gists_url":"https://api.github.com/users/katjam/gists{/gist_id}","starred_url":"https://api.github.com/users/katjam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katjam/subscriptions","organizations_url":"https://api.github.com/users/katjam/orgs","repos_url":"https://api.github.com/users/katjam/repos","events_url":"https://api.github.com/users/katjam/events{/privacy}","received_events_url":"https://api.github.com/users/katjam/received_events","type":"User","site_admin":false},"body":"use the var for user id (or we might forget hardcoded)","created_at":"2017-05-04T15:36:04Z","updated_at":"2017-05-04T15:41:18Z","html_url":"https://github.com/neontribe/ARCVMarket/pull/16#discussion_r114814091","pull_request_url":"https://api.github.com/repos/neontribe/ARCVMarket/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/neontribe/ARCVMarket/pulls/comments/114814091"},"html":{"href":"https://github.com/neontribe/ARCVMarket/pull/16#discussion_r114814091"},"pull_request":{"href":"https://api.github.com/repos/neontribe/ARCVMarket/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/neontribe/ARCVMarket/pulls/16","id":118974359,"html_url":"https://github.com/neontribe/ARCVMarket/pull/16","diff_url":"https://github.com/neontribe/ARCVMarket/pull/16.diff","patch_url":"https://github.com/neontribe/ARCVMarket/pull/16.patch","issue_url":"https://api.github.com/repos/neontribe/ARCVMarket/issues/16","number":16,"state":"open","locked":false,"title":"Add POSTing;","user":{"login":"charlesstrange2","id":25037036,"avatar_url":"https://avatars0.githubusercontent.com/u/25037036?v=3","gravatar_id":"","url":"https://api.github.com/users/charlesstrange2","html_url":"https://github.com/charlesstrange2","followers_url":"https://api.github.com/users/charlesstrange2/followers","following_url":"https://api.github.com/users/charlesstrange2/following{/other_user}","gists_url":"https://api.github.com/users/charlesstrange2/gists{/gist_id}","starred_url":"https://api.github.com/users/charlesstrange2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/charlesstrange2/subscriptions","organizations_url":"https://api.github.com/users/charlesstrange2/orgs","repos_url":"https://api.github.com/users/charlesstrange2/repos","events_url":"https://api.github.com/users/charlesstrange2/events{/privacy}","received_events_url":"https://api.github.com/users/charlesstrange2/received_events","type":"User","site_admin":false},"body":"Add getting;\r\nNeeds UI updating","created_at":"2017-05-04T13:36:13Z","updated_at":"2017-05-04T15:41:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"913b539372ee3e8fb93389105e46aedd5cab7ae0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/neontribe/ARCVMarket/pulls/16/commits","review_comments_url":"https://api.github.com/repos/neontribe/ARCVMarket/pulls/16/comments","review_comment_url":"https://api.github.com/repos/neontribe/ARCVMarket/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neontribe/ARCVMarket/issues/16/comments","statuses_url":"https://api.github.com/repos/neontribe/ARCVMarket/statuses/3261dfca0873e7ba2a0643156da48dbbac0d321d","head":{"label":"neontribe:0.1/88-add-ajax-capability-merge","ref":"0.1/88-add-ajax-capability-merge","sha":"3261dfca0873e7ba2a0643156da48dbbac0d321d","user":{"login":"neontribe","id":814085,"avatar_url":"https://avatars0.githubusercontent.com/u/814085?v=3","gravatar_id":"","url":"https://api.github.com/users/neontribe","html_url":"https://github.com/neontribe","followers_url":"https://api.github.com/users/neontribe/followers","following_url":"https://api.github.com/users/neontribe/following{/other_user}","gists_url":"https://api.github.com/users/neontribe/gists{/gist_id}","starred_url":"https://api.github.com/users/neontribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neontribe/subscriptions","organizations_url":"https://api.github.com/users/neontribe/orgs","repos_url":"https://api.github.com/users/neontribe/repos","events_url":"https://api.github.com/users/neontribe/events{/privacy}","received_events_url":"https://api.github.com/users/neontribe/received_events","type":"Organization","site_admin":false},"repo":{"id":88760269,"name":"ARCVMarket","full_name":"neontribe/ARCVMarket","owner":{"login":"neontribe","id":814085,"avatar_url":"https://avatars0.githubusercontent.com/u/814085?v=3","gravatar_id":"","url":"https://api.github.com/users/neontribe","html_url":"https://github.com/neontribe","followers_url":"https://api.github.com/users/neontribe/followers","following_url":"https://api.github.com/users/neontribe/following{/other_user}","gists_url":"https://api.github.com/users/neontribe/gists{/gist_id}","starred_url":"https://api.github.com/users/neontribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neontribe/subscriptions","organizations_url":"https://api.github.com/users/neontribe/orgs","repos_url":"https://api.github.com/users/neontribe/repos","events_url":"https://api.github.com/users/neontribe/events{/privacy}","received_events_url":"https://api.github.com/users/neontribe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neontribe/ARCVMarket","description":"ARC Voucher market redemption tools","fork":false,"url":"https://api.github.com/repos/neontribe/ARCVMarket","forks_url":"https://api.github.com/repos/neontribe/ARCVMarket/forks","keys_url":"https://api.github.com/repos/neontribe/ARCVMarket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neontribe/ARCVMarket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neontribe/ARCVMarket/teams","hooks_url":"https://api.github.com/repos/neontribe/ARCVMarket/hooks","issue_events_url":"https://api.github.com/repos/neontribe/ARCVMarket/issues/events{/number}","events_url":"https://api.github.com/repos/neontribe/ARCVMarket/events","assignees_url":"https://api.github.com/repos/neontribe/ARCVMarket/assignees{/user}","branches_url":"https://api.github.com/repos/neontribe/ARCVMarket/branches{/branch}","tags_url":"https://api.github.com/repos/neontribe/ARCVMarket/tags","blobs_url":"https://api.github.com/repos/neontribe/ARCVMarket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neontribe/ARCVMarket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neontribe/ARCVMarket/git/refs{/sha}","trees_url":"https://api.github.com/repos/neontribe/ARCVMarket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neontribe/ARCVMarket/statuses/{sha}","languages_url":"https://api.github.com/repos/neontribe/ARCVMarket/languages","stargazers_url":"https://api.github.com/repos/neontribe/ARCVMarket/stargazers","contributors_url":"https://api.github.com/repos/neontribe/ARCVMarket/contributors","subscribers_url":"https://api.github.com/repos/neontribe/ARCVMarket/subscribers","subscription_url":"https://api.github.com/repos/neontribe/ARCVMarket/subscription","commits_url":"https://api.github.com/repos/neontribe/ARCVMarket/commits{/sha}","git_commits_url":"https://api.github.com/repos/neontribe/ARCVMarket/git/commits{/sha}","comments_url":"https://api.github.com/repos/neontribe/ARCVMarket/comments{/number}","issue_comment_url":"https://api.github.com/repos/neontribe/ARCVMarket/issues/comments{/number}","contents_url":"https://api.github.com/repos/neontribe/ARCVMarket/contents/{+path}","compare_url":"https://api.github.com/repos/neontribe/ARCVMarket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neontribe/ARCVMarket/merges","archive_url":"https://api.github.com/repos/neontribe/ARCVMarket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neontribe/ARCVMarket/downloads","issues_url":"https://api.github.com/repos/neontribe/ARCVMarket/issues{/number}","pulls_url":"https://api.github.com/repos/neontribe/ARCVMarket/pulls{/number}","milestones_url":"https://api.github.com/repos/neontribe/ARCVMarket/milestones{/number}","notifications_url":"https://api.github.com/repos/neontribe/ARCVMarket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neontribe/ARCVMarket/labels{/name}","releases_url":"https://api.github.com/repos/neontribe/ARCVMarket/releases{/id}","deployments_url":"https://api.github.com/repos/neontribe/ARCVMarket/deployments","created_at":"2017-04-19T15:22:08Z","updated_at":"2017-04-28T13:11:16Z","pushed_at":"2017-05-04T13:55:05Z","git_url":"git://github.com/neontribe/ARCVMarket.git","ssh_url":"git@github.com:neontribe/ARCVMarket.git","clone_url":"https://github.com/neontribe/ARCVMarket.git","svn_url":"https://github.com/neontribe/ARCVMarket","homepage":null,"size":651,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"0.1/release"}},"base":{"label":"neontribe:0.1/release","ref":"0.1/release","sha":"a635a432589a0f39398b0867ec08239783de3cb6","user":{"login":"neontribe","id":814085,"avatar_url":"https://avatars0.githubusercontent.com/u/814085?v=3","gravatar_id":"","url":"https://api.github.com/users/neontribe","html_url":"https://github.com/neontribe","followers_url":"https://api.github.com/users/neontribe/followers","following_url":"https://api.github.com/users/neontribe/following{/other_user}","gists_url":"https://api.github.com/users/neontribe/gists{/gist_id}","starred_url":"https://api.github.com/users/neontribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neontribe/subscriptions","organizations_url":"https://api.github.com/users/neontribe/orgs","repos_url":"https://api.github.com/users/neontribe/repos","events_url":"https://api.github.com/users/neontribe/events{/privacy}","received_events_url":"https://api.github.com/users/neontribe/received_events","type":"Organization","site_admin":false},"repo":{"id":88760269,"name":"ARCVMarket","full_name":"neontribe/ARCVMarket","owner":{"login":"neontribe","id":814085,"avatar_url":"https://avatars0.githubusercontent.com/u/814085?v=3","gravatar_id":"","url":"https://api.github.com/users/neontribe","html_url":"https://github.com/neontribe","followers_url":"https://api.github.com/users/neontribe/followers","following_url":"https://api.github.com/users/neontribe/following{/other_user}","gists_url":"https://api.github.com/users/neontribe/gists{/gist_id}","starred_url":"https://api.github.com/users/neontribe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neontribe/subscriptions","organizations_url":"https://api.github.com/users/neontribe/orgs","repos_url":"https://api.github.com/users/neontribe/repos","events_url":"https://api.github.com/users/neontribe/events{/privacy}","received_events_url":"https://api.github.com/users/neontribe/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/neontribe/ARCVMarket","description":"ARC Voucher market redemption tools","fork":false,"url":"https://api.github.com/repos/neontribe/ARCVMarket","forks_url":"https://api.github.com/repos/neontribe/ARCVMarket/forks","keys_url":"https://api.github.com/repos/neontribe/ARCVMarket/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neontribe/ARCVMarket/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neontribe/ARCVMarket/teams","hooks_url":"https://api.github.com/repos/neontribe/ARCVMarket/hooks","issue_events_url":"https://api.github.com/repos/neontribe/ARCVMarket/issues/events{/number}","events_url":"https://api.github.com/repos/neontribe/ARCVMarket/events","assignees_url":"https://api.github.com/repos/neontribe/ARCVMarket/assignees{/user}","branches_url":"https://api.github.com/repos/neontribe/ARCVMarket/branches{/branch}","tags_url":"https://api.github.com/repos/neontribe/ARCVMarket/tags","blobs_url":"https://api.github.com/repos/neontribe/ARCVMarket/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neontribe/ARCVMarket/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neontribe/ARCVMarket/git/refs{/sha}","trees_url":"https://api.github.com/repos/neontribe/ARCVMarket/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neontribe/ARCVMarket/statuses/{sha}","languages_url":"https://api.github.com/repos/neontribe/ARCVMarket/languages","stargazers_url":"https://api.github.com/repos/neontribe/ARCVMarket/stargazers","contributors_url":"https://api.github.com/repos/neontribe/ARCVMarket/contributors","subscribers_url":"https://api.github.com/repos/neontribe/ARCVMarket/subscribers","subscription_url":"https://api.github.com/repos/neontribe/ARCVMarket/subscription","commits_url":"https://api.github.com/repos/neontribe/ARCVMarket/commits{/sha}","git_commits_url":"https://api.github.com/repos/neontribe/ARCVMarket/git/commits{/sha}","comments_url":"https://api.github.com/repos/neontribe/ARCVMarket/comments{/number}","issue_comment_url":"https://api.github.com/repos/neontribe/ARCVMarket/issues/comments{/number}","contents_url":"https://api.github.com/repos/neontribe/ARCVMarket/contents/{+path}","compare_url":"https://api.github.com/repos/neontribe/ARCVMarket/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neontribe/ARCVMarket/merges","archive_url":"https://api.github.com/repos/neontribe/ARCVMarket/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neontribe/ARCVMarket/downloads","issues_url":"https://api.github.com/repos/neontribe/ARCVMarket/issues{/number}","pulls_url":"https://api.github.com/repos/neontribe/ARCVMarket/pulls{/number}","milestones_url":"https://api.github.com/repos/neontribe/ARCVMarket/milestones{/number}","notifications_url":"https://api.github.com/repos/neontribe/ARCVMarket/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neontribe/ARCVMarket/labels{/name}","releases_url":"https://api.github.com/repos/neontribe/ARCVMarket/releases{/id}","deployments_url":"https://api.github.com/repos/neontribe/ARCVMarket/deployments","created_at":"2017-04-19T15:22:08Z","updated_at":"2017-04-28T13:11:16Z","pushed_at":"2017-05-04T13:55:05Z","git_url":"git://github.com/neontribe/ARCVMarket.git","ssh_url":"git@github.com:neontribe/ARCVMarket.git","clone_url":"https://github.com/neontribe/ARCVMarket.git","svn_url":"https://github.com/neontribe/ARCVMarket","homepage":null,"size":651,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"0.1/release"}},"_links":{"self":{"href":"https://api.github.com/repos/neontribe/ARCVMarket/pulls/16"},"html":{"href":"https://github.com/neontribe/ARCVMarket/pull/16"},"issue":{"href":"https://api.github.com/repos/neontribe/ARCVMarket/issues/16"},"comments":{"href":"https://api.github.com/repos/neontribe/ARCVMarket/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/neontribe/ARCVMarket/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/neontribe/ARCVMarket/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neontribe/ARCVMarket/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/neontribe/ARCVMarket/statuses/3261dfca0873e7ba2a0643156da48dbbac0d321d"}}}}
{"actor":{"display_login":"katjam"}}