DDtKey / protect-endpoints

Authorization extension for popular web-frameworks to protect your endpoints
Apache License 2.0
202 stars 14 forks source link

Remove unused `Config` type #20

Closed mgrachev closed 2 years ago

mgrachev commented 2 years ago

Description:

Fix the following error:

error[E0437]: type `Config` is not a member of trait `FromRequest`
  --> src/permissions/mod.rs:92:5
   |
92 |     type Config = ();
   |     ^^^^^^^^^^^^^^^^^ not a member of trait `FromRequest`

For more information about this error, try `rustc --explain E0437`.
error: could not compile `actix-web-grants` due to previous error

Checklist: