aboutsummaryrefslogtreecommitdiff
path: root/gtad/operation.cpp.mustache
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-08-23 09:12:39 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-08-23 09:12:39 +0200
commit2914657e594b46bcdc04d320732fa1799978c0a8 (patch)
tree18e47baa175a109e9a64491b35889ef4375264fd /gtad/operation.cpp.mustache
parent3cbc13a33c81a75e18c415bd31cc2156461ffa1f (diff)
parent93cee89f9a99e51275ac9cd304180499b0543eea (diff)
downloadlibquotient-2914657e594b46bcdc04d320732fa1799978c0a8.tar.gz
libquotient-2914657e594b46bcdc04d320732fa1799978c0a8.zip
Merge branch 'kitsune/deprecations'
Diffstat (limited to 'gtad/operation.cpp.mustache')
-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?}}