aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/generated/receipts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/jobs/generated/receipts.cpp')
-rw-r--r--lib/jobs/generated/receipts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jobs/generated/receipts.cpp b/lib/jobs/generated/receipts.cpp
index 83c38b6f..945e8673 100644
--- a/lib/jobs/generated/receipts.cpp
+++ b/lib/jobs/generated/receipts.cpp
@@ -16,6 +16,6 @@ PostReceiptJob::PostReceiptJob(const QString& roomId, const QString& receiptType
: BaseJob(HttpVerb::Post, "PostReceiptJob",
basePath % "/rooms/" % roomId % "/receipt/" % receiptType % "/" % eventId)
{
- setRequestData(Data(receipt));
+ setRequestData(Data(toJson(receipt)));
}