mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
yhook: change json output (text -> msg)
Origin commit data
------------------
Commit: e7ed3b2bc0
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-02-24 (Wed, 24 Feb 2016)
Origin message was:
------------------
- 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