mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-28 05:48:44 +02:00
Json RPC: Object.Set methods have the updated object in the response
This commit is contained in:
parent
c1eca56e38
commit
9e96b3e13b
5 changed files with 248 additions and 167 deletions
|
@ -150,9 +150,7 @@ Json JsonNotification::getJson(const std::string& method, Json data)
|
|||
Json notification = {
|
||||
{"jsonrpc", "2.0"},
|
||||
{"method", method},
|
||||
{"params", {
|
||||
{"data", data}
|
||||
}}
|
||||
{"params", data}
|
||||
};
|
||||
|
||||
return notification;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue