Skip to content

Commit

Permalink
More lines
Browse files Browse the repository at this point in the history
  • Loading branch information
marcua committed Jan 19, 2025
1 parent 6452c86 commit fdfd5ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/server/endpoints/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,11 @@ async fn query(
println!("6");
match access_level {
Some(access_level) => {
println!("7");
let db_type = DBType::try_from(database.db_type)?;
println!("8");
let db_path = current_database_path(entity_slug, database_slug, &ayb_config.data_path)?;
println!("9");
let result = run_query(
&db_path,
&query,
Expand All @@ -43,6 +46,7 @@ async fn query(
access_level,
)
.await?;
println!("10");
Ok(web::Json(result))
}
None => Err(AybError::Other {
Expand Down

0 comments on commit fdfd5ca

Please sign in to comment.