{"action":"closed","issue":{"url":"https://api.github.com/repos/IanVS/sails-hook-jsonapi/issues/6","repository_url":"https://api.github.com/repos/IanVS/sails-hook-jsonapi","labels_url":"https://api.github.com/repos/IanVS/sails-hook-jsonapi/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/IanVS/sails-hook-jsonapi/issues/6/comments","events_url":"https://api.github.com/repos/IanVS/sails-hook-jsonapi/issues/6/events","html_url":"https://github.com/IanVS/sails-hook-jsonapi/issues/6","id":145446335,"number":6,"title":"jsonapi-serializer migration","user":{"login":"jbailey4","id":4117594,"avatar_url":"https://avatars.githubusercontent.com/u/4117594?v=3","gravatar_id":"","url":"https://api.github.com/users/jbailey4","html_url":"https://github.com/jbailey4","followers_url":"https://api.github.com/users/jbailey4/followers","following_url":"https://api.github.com/users/jbailey4/following{/other_user}","gists_url":"https://api.github.com/users/jbailey4/gists{/gist_id}","starred_url":"https://api.github.com/users/jbailey4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbailey4/subscriptions","organizations_url":"https://api.github.com/users/jbailey4/orgs","repos_url":"https://api.github.com/users/jbailey4/repos","events_url":"https://api.github.com/users/jbailey4/events{/privacy}","received_events_url":"https://api.github.com/users/jbailey4/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-03T02:41:46Z","updated_at":"2016-04-04T12:37:44Z","closed_at":"2016-04-04T12:37:44Z","body":"Currently the code in responses/ok.js uses the outdated, pre v2.1 jsonapi-serializer api, this results in an error stating `JSONAPISerializer is not a function` when serializing the response data.  \r\nCheckout the [migration guide](https://github.com/SeyZ/jsonapi-serializer/wiki/Migrate-from-2.0-to-3.0). The fix seems easy and would be glad to submit a PR."}}