aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/receipts.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/receipts.cpp
parentb052b4c3ebc65dc573a36bfb0e1d98e91f49ca18 (diff)
downloadlibquotient-2a9e64dc046707040fa9fbf5474459b47f881473.tar.gz
libquotient-2a9e64dc046707040fa9fbf5474459b47f881473.zip
jobs/generated: Use BaseJob::addExpectedContentType()
Diffstat (limited to 'jobs/generated/receipts.cpp')
-rw-r--r--jobs/generated/receipts.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/jobs/generated/receipts.cpp b/jobs/generated/receipts.cpp
index 1c8bd80f..20e58ffb 100644
--- a/jobs/generated/receipts.cpp
+++ b/jobs/generated/receipts.cpp
@@ -19,5 +19,7 @@ PostReceiptJob::PostReceiptJob(const QString& roomId, const QString& receiptType
)
{
setRequestData(Data(receipt));
+
+ addExpectedContentType("application/json");
}