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/receipts.cpp | |
parent | b052b4c3ebc65dc573a36bfb0e1d98e91f49ca18 (diff) | |
download | libquotient-2a9e64dc046707040fa9fbf5474459b47f881473.tar.gz libquotient-2a9e64dc046707040fa9fbf5474459b47f881473.zip |
jobs/generated: Use BaseJob::addExpectedContentType()
Diffstat (limited to 'jobs/generated/receipts.cpp')
-rw-r--r-- | jobs/generated/receipts.cpp | 2 |
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"); } |