canjs / can-connect-feathers

The FeathersJS client library for DoneJS and can-connect
https://canjs.com/doc/can-connect-feathers.html
MIT License
10 stars 4 forks source link

Decorate authorization response with payload #89

Closed DesignByOnyx closed 6 years ago

DesignByOnyx commented 6 years ago

https://github.com/canjs/can-connect-feathers/blob/master/session/session.js#L88

should look like this:

return response.accessToken ? Object.assign(response, decode(response.accessToken)) : response;

(ps. I'll open a PR for this tomorrow)