diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-05 11:01:18 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-01-05 11:18:21 +0900 |
commit | 2a9e64dc046707040fa9fbf5474459b47f881473 (patch) | |
tree | 359f5e2e16e460ce0eea0a0bf7f9ca29ecd9a591 /jobs/generated/inviting.cpp | |
parent | b052b4c3ebc65dc573a36bfb0e1d98e91f49ca18 (diff) | |
download | libquotient-2a9e64dc046707040fa9fbf5474459b47f881473.tar.gz libquotient-2a9e64dc046707040fa9fbf5474459b47f881473.zip |
jobs/generated: Use BaseJob::addExpectedContentType()
Diffstat (limited to 'jobs/generated/inviting.cpp')
-rw-r--r-- | jobs/generated/inviting.cpp | 2 |
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"); } |