mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- yhook: change json output (text -> msg)
This commit is contained in:
@@ -572,7 +572,7 @@ void CyhookHandler::SendError(std::string error) {
|
||||
if (error.empty())
|
||||
result = "{\"success\": \"false\"}";
|
||||
else
|
||||
result = "{\"success\": \"false\", \"error\":{\"text\": \"" + error + "\"}}";
|
||||
result = "{\"success\": \"false\", \"error\":{\"msg\": \"" + error + "\"}}";
|
||||
break;
|
||||
default:
|
||||
if (error.empty())
|
||||
|
Reference in New Issue
Block a user