aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-08-22 19:37:09 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-08-22 19:37:09 +0200
commit71384a49c3a053e715241172d9d9893bb1742e6b (patch)
tree76c333dbcfb141fc42789687341d627503628481
parent14d896c9d659d3d3c4f9c4d6eeb50e59a2a002a9 (diff)
downloadlibquotient-71384a49c3a053e715241172d9d9893bb1742e6b.tar.gz
libquotient-71384a49c3a053e715241172d9d9893bb1742e6b.zip
Mustache: avoid BaseJob::Data
It's about to be deprecated in the next commits.
-rw-r--r--gtad/operation.cpp.mustache2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtad/operation.cpp.mustache b/gtad/operation.cpp.mustache
index f34c9280..7f692e4a 100644
--- a/gtad/operation.cpp.mustache
+++ b/gtad/operation.cpp.mustache
@@ -36,7 +36,7 @@ QUrl {{camelCaseOperationId}}Job::makeRequestUrl(QUrl baseUrl{{#allParams?}},
{ {{#headerParams}}
setRequestHeader("{{baseName}}", {{paramName}}.toLatin1());
{{/headerParams}}{{#inlineBody}}{{^propertyMap}}{{^bodyParams?}}
- setRequestData(Data({{#consumesNonJson?}}{{nameCamelCase}}{{/consumesNonJson?
+ setRequestData(RequestData({{#consumesNonJson?}}{{nameCamelCase}}{{/consumesNonJson?
}}{{^consumesNonJson?}}toJson({{nameCamelCase}}){{/consumesNonJson?}}));
{{/bodyParams?}}{{/propertyMap}}{{/inlineBody
}}{{^consumesNonJson?}}{{#bodyParams?}}