diff --git a/spine_items/data_store/data_store.py b/spine_items/data_store/data_store.py index dedaf83c..fa19e24d 100644 --- a/spine_items/data_store/data_store.py +++ b/spine_items/data_store/data_store.py @@ -78,7 +78,7 @@ def __init__(self, name, description, x, y, toolbox, project, url): def get_db_map_for_ds(self): """Returns the db map for the Data Store""" if self._url.get("dialect"): - return self._toolbox.db_mngr.get_db_map(self.sql_alchemy_url(), self._logger, self.name) + return self._toolbox.db_mngr.get_db_map(self.sql_alchemy_url(), self._logger, codename=self.name) return None @staticmethod