From 2a9e64dc046707040fa9fbf5474459b47f881473 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Fri, 5 Jan 2018 11:01:18 +0900 Subject: jobs/generated: Use BaseJob::addExpectedContentType() --- jobs/generated/third_party_membership.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'jobs/generated/third_party_membership.cpp') diff --git a/jobs/generated/third_party_membership.cpp b/jobs/generated/third_party_membership.cpp index dbb3ebee..f5ccf123 100644 --- a/jobs/generated/third_party_membership.cpp +++ b/jobs/generated/third_party_membership.cpp @@ -23,5 +23,7 @@ InviteBy3PIDJob::InviteBy3PIDJob(const QString& roomId, const QString& idServer, _data.insert("medium", toJson(medium)); _data.insert("address", toJson(address)); setRequestData(_data); + + addExpectedContentType("application/json"); } -- cgit v1.2.3