Fixed a bug in the config.cpp
This commit is contained in:
parent
11d5f16474
commit
b9d547ca5b
@ -20,7 +20,7 @@ bool config::is_valid_config(const json& config) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!config["database"].contains("username")) {
|
if (!config["database"].contains("username")) {
|
||||||
std::cout << "Config file is missing \"database.user\" field." << std::endl;
|
std::cout << "Config file is missing \"database.username\" field." << std::endl;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user