Skip to content

Commit

Permalink
api - correct destination archive db
Browse files Browse the repository at this point in the history
  • Loading branch information
cherusk committed Nov 15, 2023
1 parent 76ba440 commit 9b05979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def create_breeder(api_client, content):

# set dbname to work with to breeder_id
db_config = ARCHIVE_DB_CONFIG.copy()
db_config.update(dict(dbname=breeder_id))
db_config.update(dict(dbname="archive_db"))

__query = archive.queries.create_breeder_table(table_name=dag_name)
archive.archive_db.execute(db_info=db_config, query=__query)
Expand Down

0 comments on commit 9b05979

Please sign in to comment.