From 2cae1aa33f80ce0844fb54a84ce103146a7fe7ad Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 19 Apr 2021 13:46:14 -0400 Subject: Started earnest work on cli --- src/utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils.cc') diff --git a/src/utils.cc b/src/utils.cc index 1df3308..d071fe6 100644 --- a/src/utils.cc +++ b/src/utils.cc @@ -17,7 +17,7 @@ nlohmann::json utils::loadJson(const std::string& path) { } nlohmann::json utils::loadJson(const std::string& type, const std::string& name) { - for(auto data : utils::loadAllJson(settings::dummySettings.at(type))) { + for(auto data : utils::loadAllJson(settings::getString(type))) { if(data["name"] == name) { return data; } -- cgit v1.2.3