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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

restrictToOwner and restrictToRoles have invalid type checking #172

Closed
ekryski opened this Issue Apr 23, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@ekryski
Copy link
Member

ekryski commented Apr 23, 2016

This line is causing all checks using these hooks to fail regardless of whether the id was found or not because a string is an object. 馃憡

@ekryski ekryski added the Bug label Apr 23, 2016

@ekryski ekryski added this to the 0.8 milestone Apr 23, 2016

@ekryski ekryski closed this in 01cd07c Apr 23, 2016

@ekryski

This comment has been minimized.

Copy link
Member Author

ekryski commented Apr 23, 2016

Pushed v0.7.5 with a fix for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can鈥檛 perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.