{"action":"created","issue":{"url":"https://api.github.com/repos/bchan01/common-api-utils/issues/1","repository_url":"https://api.github.com/repos/bchan01/common-api-utils","labels_url":"https://api.github.com/repos/bchan01/common-api-utils/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/bchan01/common-api-utils/issues/1/comments","events_url":"https://api.github.com/repos/bchan01/common-api-utils/issues/1/events","html_url":"https://github.com/bchan01/common-api-utils/pull/1","id":182958476,"number":1,"title":"handleSuccess is wrapping results in array","user":{"login":"mklewis","id":3187816,"avatar_url":"https://avatars.githubusercontent.com/u/3187816?v=3","gravatar_id":"","url":"https://api.github.com/users/mklewis","html_url":"https://github.com/mklewis","followers_url":"https://api.github.com/users/mklewis/followers","following_url":"https://api.github.com/users/mklewis/following{/other_user}","gists_url":"https://api.github.com/users/mklewis/gists{/gist_id}","starred_url":"https://api.github.com/users/mklewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mklewis/subscriptions","organizations_url":"https://api.github.com/users/mklewis/orgs","repos_url":"https://api.github.com/users/mklewis/repos","events_url":"https://api.github.com/users/mklewis/events{/privacy}","received_events_url":"https://api.github.com/users/mklewis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-14T04:00:01Z","updated_at":"2016-10-14T04:00:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bchan01/common-api-utils/pulls/1","html_url":"https://github.com/bchan01/common-api-utils/pull/1","diff_url":"https://github.com/bchan01/common-api-utils/pull/1.diff","patch_url":"https://github.com/bchan01/common-api-utils/pull/1.patch"},"body":"I removed handleSuccess wrapping the data in an array.  It should just set the res.locals.results = data.  this was causing arrays to be pushed into another array when adding to locals."},"comment":{"url":"https://api.github.com/repos/bchan01/common-api-utils/issues/comments/253704271","html_url":"https://github.com/bchan01/common-api-utils/pull/1#issuecomment-253704271","issue_url":"https://api.github.com/repos/bchan01/common-api-utils/issues/1","id":253704271,"user":{"login":"mklewis","id":3187816,"avatar_url":"https://avatars.githubusercontent.com/u/3187816?v=3","gravatar_id":"","url":"https://api.github.com/users/mklewis","html_url":"https://github.com/mklewis","followers_url":"https://api.github.com/users/mklewis/followers","following_url":"https://api.github.com/users/mklewis/following{/other_user}","gists_url":"https://api.github.com/users/mklewis/gists{/gist_id}","starred_url":"https://api.github.com/users/mklewis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mklewis/subscriptions","organizations_url":"https://api.github.com/users/mklewis/orgs","repos_url":"https://api.github.com/users/mklewis/repos","events_url":"https://api.github.com/users/mklewis/events{/privacy}","received_events_url":"https://api.github.com/users/mklewis/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T04:00:58Z","updated_at":"2016-10-14T04:00:58Z","body":"This was causing me some issues with array based data being wrapped in another array."}}
{"actor":{"display_login":"mklewis"}}