Skip to content

Commit

Permalink
Fix refresh endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jcjc712 committed Apr 24, 2024
1 parent a6eea8a commit 8493438
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataherald/db_scanner/sqlalchemy.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def refresh_tables(
rows = []
for schema, tables in schemas_and_tables.items():
stored_tables = repository.find_by(
{"db_connection_id": str(db_connection_id), "schema": schema}
{"db_connection_id": str(db_connection_id), "schema_name": schema}
)
stored_tables_list = [table.table_name for table in stored_tables]

Expand Down

0 comments on commit 8493438

Please sign in to comment.