-
Notifications
You must be signed in to change notification settings - Fork 14
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
custom attribute panicked message: called Option::unwrap()
on a None
#78
Comments
Hi @ZimboPro!
It's because of this line. |
Thanks for the report @ZimboPro! It was fixed, now non-async handlers are supported as well ( New version has been released. Please, let me know if you still experience any issues. |
Thanks for the quick reply and solution, that solves the issue |
I am using poem and poem-grants and copied the JWT example, but am getting the following error: custom attribute panicked message: called
Option::unwrap()
on aNone
on the#[poem_grants::protect("ADMIN")]
macro. The code is:The text was updated successfully, but these errors were encountered: