Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

null isn't a valid json #324

Closed
Edo78 opened this issue Dec 24, 2014 · 2 comments
Closed

null isn't a valid json #324

Edo78 opened this issue Dec 24, 2014 · 2 comments

Comments

@Edo78
Copy link

Edo78 commented Dec 24, 2014

Line 55 of users.profile.server.controller.js is
res.json(req.user || null);
afaik it should be
res.json(req.user || {});

@ilanbiala
Copy link
Member

@Edo78 open a PR and they'll fix it much more quickly.

@Edo78
Copy link
Author

Edo78 commented Dec 24, 2014

I opened a PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants