aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/inviting.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-01-05 11:01:18 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-01-05 11:18:21 +0900
commit2a9e64dc046707040fa9fbf5474459b47f881473 (patch)
tree359f5e2e16e460ce0eea0a0bf7f9ca29ecd9a591 /jobs/generated/inviting.cpp
parentb052b4c3ebc65dc573a36bfb0e1d98e91f49ca18 (diff)
downloadlibquotient-2a9e64dc046707040fa9fbf5474459b47f881473.tar.gz
libquotient-2a9e64dc046707040fa9fbf5474459b47f881473.zip
jobs/generated: Use BaseJob::addExpectedContentType()
Diffstat (limited to 'jobs/generated/inviting.cpp')
-rw-r--r--jobs/generated/inviting.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/jobs/generated/inviting.cpp b/jobs/generated/inviting.cpp
index bdf257dd..6cd67ad7 100644
--- a/jobs/generated/inviting.cpp
+++ b/jobs/generated/inviting.cpp
@@ -21,5 +21,7 @@ InviteUserJob::InviteUserJob(const QString& roomId, const QString& userId)
QJsonObject _data;
_data.insert("user_id", toJson(userId));
setRequestData(_data);
+
+ addExpectedContentType("application/json");
}