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

HashID package is throwing vague exception when hashing file types #798

Closed
josephmancuso opened this issue Jun 24, 2019 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@josephmancuso
Copy link
Member

Describe the bug
The HashId package cannot convert filetypes. This is on the Masonite essentials package

To Reproduce
Steps to reproduce the behavior:

  1. install the Masonite essentials HashID package
  2. add the middleware to your middleware
  3. have one of your inputs be a filetype.
    throws exception.

Expected behavior
Should not throw an exception. The solution is to do an isinstance(str) check.

@josephmancuso josephmancuso added the bug Something isn't working label Jun 24, 2019
@josephmancuso
Copy link
Member Author

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant