diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-02 13:01:49 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-02 13:01:49 -0600 |
| commit | 555b0cbfe8a43287dcb16ecd0e6011b2392f83d3 (patch) | |
| tree | bb5e9cea4fd62c5171af66fc71495f4bc65de576 /src | |
| parent | 0fcd18012c0069266d7f94f232eb6971dae72d53 (diff) | |
chore: fix linter errors
Diffstat (limited to 'src')
| -rw-r--r-- | src/authorization/cedar_authorizer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/authorization/cedar_authorizer.rs b/src/authorization/cedar_authorizer.rs index a877cf87..f4004247 100644 --- a/src/authorization/cedar_authorizer.rs +++ b/src/authorization/cedar_authorizer.rs @@ -123,13 +123,13 @@ impl CedarAuthorizer { if !bearer_token.is_empty() { context_map.insert( "bearer_token".to_string(), - RestrictedExpression::from_str(&format!("\"{}\"", bearer_token))?, + RestrictedExpression::from_str(&format!("\"{bearer_token}\""))?, ); } if !path.is_empty() { context_map.insert( "path".to_string(), - RestrictedExpression::from_str(&format!("\"{}\"", path))?, + RestrictedExpression::from_str(&format!("\"{path}\""))?, ); } |
