Skip to content

Commit

Permalink
fix: CI compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgehermo9 committed Jan 23, 2025
1 parent 7701e0a commit 2c71c5b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/demo/src/models/users.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ impl super::_entities::users::Model {
pub fn generate_jwt(&self, secret: &str, expiration: u64) -> ModelResult<String> {
let mut claims = Map::new();
claims.insert("Role".to_string(), "Administrator".into());
```?
Ok(jwt::JWT::new(secret).generate_token(expiration, self.pid.to_string(), claims)?)
}
}
Expand Down

0 comments on commit 2c71c5b

Please sign in to comment.