From 04904c04bcf25aa00ba274cc91652c03fa2c7a66 Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sun, 29 Oct 2023 14:39:39 +0100 Subject: [PATCH] Updated the config.h --- src/api/config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/api/config.h b/src/api/config.h index 0ca0f19..8932760 100644 --- a/src/api/config.h +++ b/src/api/config.h @@ -9,9 +9,10 @@ class config { public: /** * Reads the config file and returns a json object. + * @param path path to the config file * @return json object */ - static json read_config(); + static json read_config(const std::string& path); /** * Checks if the config file is valid.