aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/to_device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/to_device.cpp')
-rw-r--r--lib/csapi/to_device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/to_device.cpp b/lib/csapi/to_device.cpp
index dfc47ab5..1478a679 100644
--- a/lib/csapi/to_device.cpp
+++ b/lib/csapi/to_device.cpp
@@ -17,7 +17,7 @@ SendToDeviceJob::SendToDeviceJob(const QString& eventType, const QString& txnId,
basePath % "/sendToDevice/" % eventType % "/" % txnId)
{
QJsonObject _data;
- addToJson<IfNotEmpty>(_data, "messages", messages);
+ addParam<IfNotEmpty>(_data, "messages", messages);
setRequestData(_data);
}