Skip to content

Commit

Permalink
chore: remove debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed Aug 7, 2024
1 parent 469922e commit 12316b1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,8 @@ pub async fn run(configuration: Configuration, api_version: &Version) -> Running
.and_then(|u| u.auth.as_ref())
.and_then(|auth| auth.casbin.as_ref())
{
println!("loading custom");
CasbinEnforcer::with_configuration(CasbinConfiguration::new(&casbin.model, &casbin.policy)).await
} else {
println!("loading default");
CasbinEnforcer::with_default_configuration().await
},
);
Expand Down

0 comments on commit 12316b1

Please sign in to comment.