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.