aboutsummaryrefslogtreecommitdiff
path: root/jobs/generated/banning.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/generated/banning.cpp')
-rw-r--r--jobs/generated/banning.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/jobs/generated/banning.cpp b/jobs/generated/banning.cpp
index 61677da6..96f80ea8 100644
--- a/jobs/generated/banning.cpp
+++ b/jobs/generated/banning.cpp
@@ -19,7 +19,7 @@ BanJob::BanJob(const QString& roomId, const QString& userId, const QString& reas
Query { }
)
{
- Data _data;
+ QJsonObject _data;
_data.insert("user_id", toJson(userId));
if (!reason.isEmpty())
_data.insert("reason", toJson(reason));
@@ -32,7 +32,7 @@ UnbanJob::UnbanJob(const QString& roomId, const QString& userId)
Query { }
)
{
- Data _data;
+ QJsonObject _data;
_data.insert("user_id", toJson(userId));
setRequestData(_data);
}