Skip to content

Commit

Permalink
Merge #704: Remove debugging code
Browse files Browse the repository at this point in the history
12316b1 chore: remove debugging code (Jose Celano)

Pull request description:

  Remove debugging code.

ACKs for top commit:
  josecelano:
    ACK 12316b1

Tree-SHA512: 97477a38ea4715fcee8c6a8a9f51a471e9d413a7eb198fda24adeb522fe6953525ca61a64912fc53c1685c72f7d397415fccc80143bc0a0fbfc6c2612da64a1d
  • Loading branch information
josecelano committed Aug 7, 2024
2 parents 469922e + 12316b1 commit f795f87
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 f795f87

Please sign in to comment.