cleanup project config from unused observer code

This commit is contained in:
Lorow
2024-12-11 22:40:34 +01:00
parent fff9ce422f
commit 983c5fa473
6 changed files with 20 additions and 87 deletions

View File

@@ -26,7 +26,7 @@ CommandResult setMDNSCommand::execute(std::string_view jsonPayload)
if (!payload.has_value())
return CommandResult::getErrorResult("Invalid payload");
projectConfig->setMDNSConfig(payload.value().hostname, true);
projectConfig->setMDNSConfig(payload.value().hostname);
return CommandResult::getSuccessResult("Config updated");
}