diff --git a/src/config.py b/src/config.py index 9f1ab3f9..c432ff9d 100644 --- a/src/config.py +++ b/src/config.py @@ -359,8 +359,8 @@ def get_db_connection_params() -> dict: connection_params = json.loads(db_credentials) - connection_params["username"] = connection_params["user"] - for k in ("dbinstanceidentifier", "engine", "user"): + connection_params["user"] = connection_params["username"] + for k in ("dbinstanceidentifier", "engine", "username"): connection_params.pop(k, None) if None in connection_params.values():