From 259c50f748f42ffb9437e8ea951b99c51f4c7e5a Mon Sep 17 00:00:00 2001
From: Riccardo Boero <ribo@nilu.no>
Date: Mon, 16 Dec 2024 10:18:19 +0100
Subject: [PATCH] Fix results connection

---
 Project.toml    | 2 +-
 src/utils/db.jl | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Project.toml b/Project.toml
index 518df80..7f273cf 100644
--- a/Project.toml
+++ b/Project.toml
@@ -1,7 +1,7 @@
 name = "FACT_unified_data_IO"
 uuid = "ec8d5dc6-0dfe-41d7-8c2c-855ff50b7b42"
 authors = ["Riccardo Boero <ribo@nilu.no>"]
-version = "0.0.4"
+version = "0.0.5"
 
 [deps]
 DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
diff --git a/src/utils/db.jl b/src/utils/db.jl
index 18d913f..03b1c34 100644
--- a/src/utils/db.jl
+++ b/src/utils/db.jl
@@ -142,7 +142,7 @@ This function creates a `Service` object from the given `service_dict` and uses
 
 # Behavior
 - Constructs a `Service` object using the provided host and port from `service_dict`.
-- Calls `get_connection` with the constructed `Service` object to establish the database connection.
+- Calls `get_results_connection` with the constructed `Service` object to establish the database connection.
 
 # Example
 Define the service dictionary and establish a connection:
@@ -166,7 +166,7 @@ function get_results_connection(service_dict::Dict)
         service_dict["host"],
         service_dict["port"]
     )
-    return get_connection(service)
+    return get_results_connection(service)
 end
 
 """
-- 
GitLab