diff options
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}\""))?, ); } |
