diff options
Diffstat (limited to 'src/Daemon/Requests')
-rw-r--r-- | src/Daemon/Requests/LogRequest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Daemon/Requests/LogRequest.cpp b/src/Daemon/Requests/LogRequest.cpp index 0741168..4d4cf93 100644 --- a/src/Daemon/Requests/LogRequest.cpp +++ b/src/Daemon/Requests/LogRequest.cpp @@ -28,10 +28,10 @@ void LogRequest::sendRequest() { packet.setType("Log"); - packet.add("category", category); - packet.add("level", level); - packet.add("timestamp", messageTimestamp); - packet.add("message", message); + packet.set("category", category); + packet.set("level", level); + packet.set("timestamp", messageTimestamp); + packet.set("message", message); sendPacket(packet); } |