aboutsummaryrefslogtreecommitdiff
path: root/jobs/{{base}}.cpp.mustache
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/{{base}}.cpp.mustache')
-rw-r--r--jobs/{{base}}.cpp.mustache2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/{{base}}.cpp.mustache b/jobs/{{base}}.cpp.mustache
index 0726d523..34e7faf3 100644
--- a/jobs/{{base}}.cpp.mustache
+++ b/jobs/{{base}}.cpp.mustache
@@ -88,7 +88,7 @@ class {{camelCaseOperationId}}Job::Private
BaseJob::Status {{camelCaseOperationId}}Job::parseReply(QNetworkReply* reply)
{
{{#headers}}d->{{paramName}} = reply->rawHeader("{{baseName}}"); {{! We don't check for required headers yet }}
- {{/headers}}{{#properties}}d->{{paramName}} = reply->readAll();{{/properties}}
+ {{/headers}}{{#properties}}d->{{paramName}} = reply;{{/properties}}
return Success;
}{{/ producesNotJson?}}{{^producesNotJson?}}
BaseJob::Status {{camelCaseOperationId}}Job::parseJson(const QJsonDocument& data)