mirror of
https://github.com/MrUnknownDE/OpenIris-ESPIDF.git
synced 2026-04-19 06:23:44 +02:00
Fix improper json formatting in executeFromType
This commit is contained in:
@@ -161,5 +161,5 @@ CommandManagerResponse CommandManager::executeFromType(const CommandType type, c
|
||||
return CommandManagerResponse({{"command", type}, {"error", "Unknown command"}});
|
||||
}
|
||||
|
||||
return CommandManagerResponse({"result", command()});
|
||||
return CommandManagerResponse(nlohmann::json{{"result", command()}});
|
||||
}
|
||||
Reference in New Issue
Block a user