Skip to content

Commit

Permalink
Merge pull request #1032 from mccormickt/mccormickt/jwt-feature
Browse files Browse the repository at this point in the history
fix: guard jwt error behind feature flag
  • Loading branch information
jondot authored Nov 27, 2024
2 parents 84b712b + 8dc4dba commit e1b0392
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/model/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pub enum ModelError {
#[error("{errors:?}")]
ModelValidation { errors: ModelValidation },

#[cfg(feature = "auth_jwt")]
#[error("jwt error")]
Jwt(#[from] jsonwebtoken::errors::Error),

Expand Down

0 comments on commit e1b0392

Please sign in to comment.