mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
b message parser
fix command parser returning null when sending empty command
This commit is contained in:
@@ -24,7 +24,7 @@ std::string message_parser(std::string message)
|
||||
|
||||
json command_parser(json command)
|
||||
{
|
||||
json j;
|
||||
json j = "{}"_json;
|
||||
try
|
||||
{
|
||||
std::string type = command.at("type");
|
||||
|
||||
Reference in New Issue
Block a user