{"action":"created","comment":{"url":"https://api.github.com/repos/gideongoldin/TurkGate/pulls/comments/27358376","id":27358376,"diff_hunk":"@@ -83,6 +86,11 @@\n     }\r\n     // Pass assignmentId to survey\r\n     $surveyURL .= \"assignmentID=$assignId\";\r\n+\r\n+    // Pass along workerId if necessary\r\n+    if ($_GET['passId'] == true) {\r","path":"TurkGate/gateway.php","position":null,"original_position":16,"commit_id":"ed29fd233d251a0cd57017a80d7efa005a1fae82","original_commit_id":"6bf360915b910658dfe593f0773a39e9269f8fc1","user":{"login":"jeff-hughes","id":11000902,"avatar_url":"https://avatars.githubusercontent.com/u/11000902?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-hughes","html_url":"https://github.com/jeff-hughes","followers_url":"https://api.github.com/users/jeff-hughes/followers","following_url":"https://api.github.com/users/jeff-hughes/following{/other_user}","gists_url":"https://api.github.com/users/jeff-hughes/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-hughes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-hughes/subscriptions","organizations_url":"https://api.github.com/users/jeff-hughes/orgs","repos_url":"https://api.github.com/users/jeff-hughes/repos","events_url":"https://api.github.com/users/jeff-hughes/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-hughes/received_events","type":"User","site_admin":false},"body":"Good catch! I've updated with a new commit.","created_at":"2015-03-29T20:18:25Z","updated_at":"2015-03-29T20:18:25Z","html_url":"https://github.com/gideongoldin/TurkGate/pull/93#discussion_r27358376","pull_request_url":"https://api.github.com/repos/gideongoldin/TurkGate/pulls/93","_links":{"self":{"href":"https://api.github.com/repos/gideongoldin/TurkGate/pulls/comments/27358376"},"html":{"href":"https://github.com/gideongoldin/TurkGate/pull/93#discussion_r27358376"},"pull_request":{"href":"https://api.github.com/repos/gideongoldin/TurkGate/pulls/93"}}},"pull_request":{"url":"https://api.github.com/repos/gideongoldin/TurkGate/pulls/93","id":32169357,"html_url":"https://github.com/gideongoldin/TurkGate/pull/93","diff_url":"https://github.com/gideongoldin/TurkGate/pull/93.diff","patch_url":"https://github.com/gideongoldin/TurkGate/pull/93.patch","issue_url":"https://api.github.com/repos/gideongoldin/TurkGate/issues/93","number":93,"state":"open","locked":false,"title":"Save survey URL without worker ID on the end.","user":{"login":"jeff-hughes","id":11000902,"avatar_url":"https://avatars.githubusercontent.com/u/11000902?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-hughes","html_url":"https://github.com/jeff-hughes","followers_url":"https://api.github.com/users/jeff-hughes/followers","following_url":"https://api.github.com/users/jeff-hughes/following{/other_user}","gists_url":"https://api.github.com/users/jeff-hughes/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-hughes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-hughes/subscriptions","organizations_url":"https://api.github.com/users/jeff-hughes/orgs","repos_url":"https://api.github.com/users/jeff-hughes/repos","events_url":"https://api.github.com/users/jeff-hughes/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-hughes/received_events","type":"User","site_admin":false},"body":"Previously, the worker ID was passed to gateway.php twice: once as part of the survey URL and again as a separate parameter. I have simplified this by passing along a \"passId\" parameter through the URL instead, which tells gateway.php whether to pass along the worker ID or not.","created_at":"2015-03-28T19:04:08Z","updated_at":"2015-03-29T20:18:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"761582ab2a0dd36d265ab02a460f3da87ef35278","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gideongoldin/TurkGate/pulls/93/commits","review_comments_url":"https://api.github.com/repos/gideongoldin/TurkGate/pulls/93/comments","review_comment_url":"https://api.github.com/repos/gideongoldin/TurkGate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gideongoldin/TurkGate/issues/93/comments","statuses_url":"https://api.github.com/repos/gideongoldin/TurkGate/statuses/ed29fd233d251a0cd57017a80d7efa005a1fae82","head":{"label":"jeff-hughes:patch1","ref":"patch1","sha":"ed29fd233d251a0cd57017a80d7efa005a1fae82","user":{"login":"jeff-hughes","id":11000902,"avatar_url":"https://avatars.githubusercontent.com/u/11000902?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-hughes","html_url":"https://github.com/jeff-hughes","followers_url":"https://api.github.com/users/jeff-hughes/followers","following_url":"https://api.github.com/users/jeff-hughes/following{/other_user}","gists_url":"https://api.github.com/users/jeff-hughes/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-hughes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-hughes/subscriptions","organizations_url":"https://api.github.com/users/jeff-hughes/orgs","repos_url":"https://api.github.com/users/jeff-hughes/repos","events_url":"https://api.github.com/users/jeff-hughes/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-hughes/received_events","type":"User","site_admin":false},"repo":{"id":32961665,"name":"TurkGate","full_name":"jeff-hughes/TurkGate","owner":{"login":"jeff-hughes","id":11000902,"avatar_url":"https://avatars.githubusercontent.com/u/11000902?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-hughes","html_url":"https://github.com/jeff-hughes","followers_url":"https://api.github.com/users/jeff-hughes/followers","following_url":"https://api.github.com/users/jeff-hughes/following{/other_user}","gists_url":"https://api.github.com/users/jeff-hughes/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-hughes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-hughes/subscriptions","organizations_url":"https://api.github.com/users/jeff-hughes/orgs","repos_url":"https://api.github.com/users/jeff-hughes/repos","events_url":"https://api.github.com/users/jeff-hughes/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-hughes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeff-hughes/TurkGate","description":"TurkGate: Grouping and Access Tools for External surveys (for use with Amazon Mechanical Turk)","fork":true,"url":"https://api.github.com/repos/jeff-hughes/TurkGate","forks_url":"https://api.github.com/repos/jeff-hughes/TurkGate/forks","keys_url":"https://api.github.com/repos/jeff-hughes/TurkGate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeff-hughes/TurkGate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeff-hughes/TurkGate/teams","hooks_url":"https://api.github.com/repos/jeff-hughes/TurkGate/hooks","issue_events_url":"https://api.github.com/repos/jeff-hughes/TurkGate/issues/events{/number}","events_url":"https://api.github.com/repos/jeff-hughes/TurkGate/events","assignees_url":"https://api.github.com/repos/jeff-hughes/TurkGate/assignees{/user}","branches_url":"https://api.github.com/repos/jeff-hughes/TurkGate/branches{/branch}","tags_url":"https://api.github.com/repos/jeff-hughes/TurkGate/tags","blobs_url":"https://api.github.com/repos/jeff-hughes/TurkGate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeff-hughes/TurkGate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeff-hughes/TurkGate/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeff-hughes/TurkGate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeff-hughes/TurkGate/statuses/{sha}","languages_url":"https://api.github.com/repos/jeff-hughes/TurkGate/languages","stargazers_url":"https://api.github.com/repos/jeff-hughes/TurkGate/stargazers","contributors_url":"https://api.github.com/repos/jeff-hughes/TurkGate/contributors","subscribers_url":"https://api.github.com/repos/jeff-hughes/TurkGate/subscribers","subscription_url":"https://api.github.com/repos/jeff-hughes/TurkGate/subscription","commits_url":"https://api.github.com/repos/jeff-hughes/TurkGate/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeff-hughes/TurkGate/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeff-hughes/TurkGate/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeff-hughes/TurkGate/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeff-hughes/TurkGate/contents/{+path}","compare_url":"https://api.github.com/repos/jeff-hughes/TurkGate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeff-hughes/TurkGate/merges","archive_url":"https://api.github.com/repos/jeff-hughes/TurkGate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeff-hughes/TurkGate/downloads","issues_url":"https://api.github.com/repos/jeff-hughes/TurkGate/issues{/number}","pulls_url":"https://api.github.com/repos/jeff-hughes/TurkGate/pulls{/number}","milestones_url":"https://api.github.com/repos/jeff-hughes/TurkGate/milestones{/number}","notifications_url":"https://api.github.com/repos/jeff-hughes/TurkGate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeff-hughes/TurkGate/labels{/name}","releases_url":"https://api.github.com/repos/jeff-hughes/TurkGate/releases{/id}","created_at":"2015-03-27T01:36:38Z","updated_at":"2015-03-27T01:36:38Z","pushed_at":"2015-03-29T20:17:16Z","git_url":"git://github.com/jeff-hughes/TurkGate.git","ssh_url":"git@github.com:jeff-hughes/TurkGate.git","clone_url":"https://github.com/jeff-hughes/TurkGate.git","svn_url":"https://github.com/jeff-hughes/TurkGate","homepage":"http://gideongoldin.github.com/TurkGate","size":786,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gideongoldin:master","ref":"master","sha":"a1896a070fd1abbc8f95a5eb3f27191faf9cd044","user":{"login":"gideongoldin","id":225671,"avatar_url":"https://avatars.githubusercontent.com/u/225671?v=3","gravatar_id":"","url":"https://api.github.com/users/gideongoldin","html_url":"https://github.com/gideongoldin","followers_url":"https://api.github.com/users/gideongoldin/followers","following_url":"https://api.github.com/users/gideongoldin/following{/other_user}","gists_url":"https://api.github.com/users/gideongoldin/gists{/gist_id}","starred_url":"https://api.github.com/users/gideongoldin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gideongoldin/subscriptions","organizations_url":"https://api.github.com/users/gideongoldin/orgs","repos_url":"https://api.github.com/users/gideongoldin/repos","events_url":"https://api.github.com/users/gideongoldin/events{/privacy}","received_events_url":"https://api.github.com/users/gideongoldin/received_events","type":"User","site_admin":false},"repo":{"id":4755771,"name":"TurkGate","full_name":"gideongoldin/TurkGate","owner":{"login":"gideongoldin","id":225671,"avatar_url":"https://avatars.githubusercontent.com/u/225671?v=3","gravatar_id":"","url":"https://api.github.com/users/gideongoldin","html_url":"https://github.com/gideongoldin","followers_url":"https://api.github.com/users/gideongoldin/followers","following_url":"https://api.github.com/users/gideongoldin/following{/other_user}","gists_url":"https://api.github.com/users/gideongoldin/gists{/gist_id}","starred_url":"https://api.github.com/users/gideongoldin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gideongoldin/subscriptions","organizations_url":"https://api.github.com/users/gideongoldin/orgs","repos_url":"https://api.github.com/users/gideongoldin/repos","events_url":"https://api.github.com/users/gideongoldin/events{/privacy}","received_events_url":"https://api.github.com/users/gideongoldin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gideongoldin/TurkGate","description":"TurkGate: Grouping and Access Tools for External surveys (for use with Amazon Mechanical Turk)","fork":false,"url":"https://api.github.com/repos/gideongoldin/TurkGate","forks_url":"https://api.github.com/repos/gideongoldin/TurkGate/forks","keys_url":"https://api.github.com/repos/gideongoldin/TurkGate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gideongoldin/TurkGate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gideongoldin/TurkGate/teams","hooks_url":"https://api.github.com/repos/gideongoldin/TurkGate/hooks","issue_events_url":"https://api.github.com/repos/gideongoldin/TurkGate/issues/events{/number}","events_url":"https://api.github.com/repos/gideongoldin/TurkGate/events","assignees_url":"https://api.github.com/repos/gideongoldin/TurkGate/assignees{/user}","branches_url":"https://api.github.com/repos/gideongoldin/TurkGate/branches{/branch}","tags_url":"https://api.github.com/repos/gideongoldin/TurkGate/tags","blobs_url":"https://api.github.com/repos/gideongoldin/TurkGate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gideongoldin/TurkGate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gideongoldin/TurkGate/git/refs{/sha}","trees_url":"https://api.github.com/repos/gideongoldin/TurkGate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gideongoldin/TurkGate/statuses/{sha}","languages_url":"https://api.github.com/repos/gideongoldin/TurkGate/languages","stargazers_url":"https://api.github.com/repos/gideongoldin/TurkGate/stargazers","contributors_url":"https://api.github.com/repos/gideongoldin/TurkGate/contributors","subscribers_url":"https://api.github.com/repos/gideongoldin/TurkGate/subscribers","subscription_url":"https://api.github.com/repos/gideongoldin/TurkGate/subscription","commits_url":"https://api.github.com/repos/gideongoldin/TurkGate/commits{/sha}","git_commits_url":"https://api.github.com/repos/gideongoldin/TurkGate/git/commits{/sha}","comments_url":"https://api.github.com/repos/gideongoldin/TurkGate/comments{/number}","issue_comment_url":"https://api.github.com/repos/gideongoldin/TurkGate/issues/comments{/number}","contents_url":"https://api.github.com/repos/gideongoldin/TurkGate/contents/{+path}","compare_url":"https://api.github.com/repos/gideongoldin/TurkGate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gideongoldin/TurkGate/merges","archive_url":"https://api.github.com/repos/gideongoldin/TurkGate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gideongoldin/TurkGate/downloads","issues_url":"https://api.github.com/repos/gideongoldin/TurkGate/issues{/number}","pulls_url":"https://api.github.com/repos/gideongoldin/TurkGate/pulls{/number}","milestones_url":"https://api.github.com/repos/gideongoldin/TurkGate/milestones{/number}","notifications_url":"https://api.github.com/repos/gideongoldin/TurkGate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gideongoldin/TurkGate/labels{/name}","releases_url":"https://api.github.com/repos/gideongoldin/TurkGate/releases{/id}","created_at":"2012-06-22T20:57:10Z","updated_at":"2015-03-25T18:42:36Z","pushed_at":"2015-03-29T20:17:17Z","git_url":"git://github.com/gideongoldin/TurkGate.git","ssh_url":"git@github.com:gideongoldin/TurkGate.git","clone_url":"https://github.com/gideongoldin/TurkGate.git","svn_url":"https://github.com/gideongoldin/TurkGate","homepage":"http://gideongoldin.github.com/TurkGate","size":4406,"stargazers_count":19,"watchers_count":19,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":20,"forks":4,"open_issues":20,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gideongoldin/TurkGate/pulls/93"},"html":{"href":"https://github.com/gideongoldin/TurkGate/pull/93"},"issue":{"href":"https://api.github.com/repos/gideongoldin/TurkGate/issues/93"},"comments":{"href":"https://api.github.com/repos/gideongoldin/TurkGate/issues/93/comments"},"review_comments":{"href":"https://api.github.com/repos/gideongoldin/TurkGate/pulls/93/comments"},"review_comment":{"href":"https://api.github.com/repos/gideongoldin/TurkGate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gideongoldin/TurkGate/pulls/93/commits"},"statuses":{"href":"https://api.github.com/repos/gideongoldin/TurkGate/statuses/ed29fd233d251a0cd57017a80d7efa005a1fae82"}}}}