aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/receipts.cpp
diff options
context:
space:
mode:
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");
}