From 9b05979f83e00546e5d6f620ac62275e59ea251b Mon Sep 17 00:00:00 2001 From: Matthias Tafelmeier Date: Wed, 15 Nov 2023 13:04:33 +0100 Subject: [PATCH] api - correct destination archive db --- api/controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controller.py b/api/controller.py index 3d7b9428..315aa618 100644 --- a/api/controller.py +++ b/api/controller.py @@ -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)