diff options
Diffstat (limited to 'src/opensearch/opensearchwriter.cpp')
-rw-r--r-- | src/opensearch/opensearchwriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opensearch/opensearchwriter.cpp b/src/opensearch/opensearchwriter.cpp index 81ce022c..00a2f0cd 100644 --- a/src/opensearch/opensearchwriter.cpp +++ b/src/opensearch/opensearchwriter.cpp @@ -105,7 +105,7 @@ void OpenSearchWriter::write(OpenSearchEngine *engine) { writeStartElement(QL1S("Url")); writeAttribute(QL1S("method"), QL1S("get")); - writeAttribute(QL1S("type"), QL1S("application/x-suggestions+json")); + writeAttribute(QL1S("type"), engine->type()); writeAttribute(QL1S("template"), engine->suggestionsUrlTemplate()); if (!engine->suggestionsParameters().empty()) |