Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[api] api.sessions.remove -> rejects if options is not passed #188

Closed
gr2m opened this issue Oct 15, 2016 · 1 comment
Closed

[api] api.sessions.remove -> rejects if options is not passed #188

gr2m opened this issue Oct 15, 2016 · 1 comment

Comments

@gr2m
Copy link
Member

gr2m commented Oct 15, 2016

api.sessions.remove(id)
// rejects with "Cannot read property 'include' of undefined"

Problem is here: https://github.com/hoodiehq/hoodie-account-server/blob/736e27a/api/sessions/remove.js#L9-L11 we need to check if options is truthy first

@gr2m
Copy link
Member Author

gr2m commented Oct 15, 2016

closing in favor of hoodiehq/camp#58

@gr2m gr2m closed this as completed Oct 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant