diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-05 11:12:20 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-05 11:18:13 +0900 |
commit | b052b4c3ebc65dc573a36bfb0e1d98e91f49ca18 (patch) | |
tree | 5274f37848510fd8b9661f5590b5a48a1294faaa /jobs/{{base}}.cpp.mustache | |
parent | f31dbfc9a91460d664d570ea8f0f34cb7dea27d3 (diff) | |
download | libquotient-b052b4c3ebc65dc573a36bfb0e1d98e91f49ca18.tar.gz libquotient-b052b4c3ebc65dc573a36bfb0e1d98e91f49ca18.zip |
{{base}}.cpp.mustache: Fix addExpectedContentType() invocation code
Diffstat (limited to 'jobs/{{base}}.cpp.mustache')
-rw-r--r-- | jobs/{{base}}.cpp.mustache | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jobs/{{base}}.cpp.mustache b/jobs/{{base}}.cpp.mustache index 6621f173..1461dec5 100644 --- a/jobs/{{base}}.cpp.mustache +++ b/jobs/{{base}}.cpp.mustache @@ -74,7 +74,7 @@ class {{camelCaseOperationId}}Job::Private {{/string?}}{{/required?}} _data.insert("{{baseName}}", toJson({{paramName}}));{{/bodyParams}} setRequestData(_data);{{/inlineBody}}{{#produces?}} {{#produces}} - addExpectedContentType({{_}});{{/produces}}{{/produces?}} + addExpectedContentType("{{_}}");{{/produces}}{{/produces?}} }{{/bodyParams?}}{{^bodyParams?}}{ }{{/bodyParams?}} {{# responses}}{{#normalResponse?}}{{#allProperties?}} {{camelCaseOperationId}}Job::~{{camelCaseOperationId}}Job() = default; |