diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-06-09 22:53:29 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-06-09 22:53:29 +0900 |
commit | 46801080846d58ab1528e921bebcb14e651f7956 (patch) | |
tree | 13fadd0e947a184bc7cef77c5c0867bf404bfe0b /lib/csapi/to_device.cpp | |
parent | 6767cb8eccea7b74531f59f165a28afa0bec61f4 (diff) | |
download | libquotient-46801080846d58ab1528e921bebcb14e651f7956.tar.gz libquotient-46801080846d58ab1528e921bebcb14e651f7956.zip |
csapi: Now really fix passing query parameters
Also: GetContentThumbnailJob (again) requires width and height.
Diffstat (limited to 'lib/csapi/to_device.cpp')
-rw-r--r-- | lib/csapi/to_device.cpp | 2 |
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); } |