{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/isp/issues/106","repository_url":"https://api.github.com/repos/CenterForOpenScience/isp","labels_url":"https://api.github.com/repos/CenterForOpenScience/isp/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/isp/issues/106/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/isp/issues/106/events","html_url":"https://github.com/CenterForOpenScience/isp/pull/106","id":190777653,"number":106,"title":"Add missing ISP session model fields","user":{"login":"samanehsan","id":6414394,"avatar_url":"https://avatars.githubusercontent.com/u/6414394?v=3","gravatar_id":"","url":"https://api.github.com/users/samanehsan","html_url":"https://github.com/samanehsan","followers_url":"https://api.github.com/users/samanehsan/followers","following_url":"https://api.github.com/users/samanehsan/following{/other_user}","gists_url":"https://api.github.com/users/samanehsan/gists{/gist_id}","starred_url":"https://api.github.com/users/samanehsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samanehsan/subscriptions","organizations_url":"https://api.github.com/users/samanehsan/orgs","repos_url":"https://api.github.com/users/samanehsan/repos","events_url":"https://api.github.com/users/samanehsan/events{/privacy}","received_events_url":"https://api.github.com/users/samanehsan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-21T17:01:16Z","updated_at":"2016-11-21T17:14:10Z","closed_at":"2016-11-21T17:13:54Z","pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/isp/pulls/106","html_url":"https://github.com/CenterForOpenScience/isp/pull/106","diff_url":"https://github.com/CenterForOpenScience/isp/pull/106.diff","patch_url":"https://github.com/CenterForOpenScience/isp/pull/106.patch"},"body":"## Purpose\r\nIn the model hook of `routes/participate/survey.js`, the locale and sessionId are set on the session, but these fields are not a part of the model definition and were not getting saved.\r\n\r\n## Summary of changes\r\nAdd `locale` and `studyId` to the ISP session model\r\n\r\n## Testing Notes\r\n1. Log into ISP with a new test account\r\n2. Send a request to JamDB to check that the `locale` and `studyId` are in that session's data"},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/isp/issues/comments/262003241","html_url":"https://github.com/CenterForOpenScience/isp/pull/106#issuecomment-262003241","issue_url":"https://api.github.com/repos/CenterForOpenScience/isp/issues/106","id":262003241,"user":{"login":"abought","id":2957073,"avatar_url":"https://avatars.githubusercontent.com/u/2957073?v=3","gravatar_id":"","url":"https://api.github.com/users/abought","html_url":"https://github.com/abought","followers_url":"https://api.github.com/users/abought/followers","following_url":"https://api.github.com/users/abought/following{/other_user}","gists_url":"https://api.github.com/users/abought/gists{/gist_id}","starred_url":"https://api.github.com/users/abought/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abought/subscriptions","organizations_url":"https://api.github.com/users/abought/orgs","repos_url":"https://api.github.com/users/abought/repos","events_url":"https://api.github.com/users/abought/events{/privacy}","received_events_url":"https://api.github.com/users/abought/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T17:14:10Z","updated_at":"2016-11-21T17:14:10Z","body":"Thanks for catching this! Fixes are welcome and appreciated!"}}
{"actor":{"display_login":"abought"}}