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 28c4115a..3775174d 100644
--- a/lib/csapi/to_device.cpp
+++ b/lib/csapi/to_device.cpp
@@ -16,6 +16,6 @@ SendToDeviceJob::SendToDeviceJob(
% eventType % "/" % txnId)
{
QJsonObject _data;
- addParam<IfNotEmpty>(_data, QStringLiteral("messages"), messages);
+ addParam<>(_data, QStringLiteral("messages"), messages);
setRequestData(std::move(_data));
}