Skip to content

Commit

Permalink
fix: build issues after converting to Result
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonShin committed Jul 27, 2024
1 parent 0ccac2d commit 7c29b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ts_generator/sql_parser/expressions/translate_expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pub async fn get_sql_query_param(
let table_name: Option<String>;

if table_with_joins.is_some() {
table_name = translate_table_from_expr(table_with_joins, &left.clone());
table_name = translate_table_from_expr(table_with_joins, &left.clone()).ok();
} else if single_table_name.is_some() {
table_name = single_table_name.map(|x| x.to_string());
} else {
Expand Down

0 comments on commit 7c29b9b

Please sign in to comment.