Skip to content

Commit 8493438

Browse files
committed
Fix refresh endpoint
1 parent a6eea8a commit 8493438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: dataherald/db_scanner/sqlalchemy.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def refresh_tables(
7070
rows = []
7171
for schema, tables in schemas_and_tables.items():
7272
stored_tables = repository.find_by(
73-
{"db_connection_id": str(db_connection_id), "schema": schema}
73+
{"db_connection_id": str(db_connection_id), "schema_name": schema}
7474
)
7575
stored_tables_list = [table.table_name for table in stored_tables]
7676

0 commit comments

Comments
 (0)