aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/inviting.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/inviting.cpp')
-rw-r--r--lib/csapi/inviting.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/csapi/inviting.cpp b/lib/csapi/inviting.cpp
index 7dc33b18..4ddbe5d0 100644
--- a/lib/csapi/inviting.cpp
+++ b/lib/csapi/inviting.cpp
@@ -16,10 +16,9 @@ static const auto InviteUserJobName = QStringLiteral("InviteUserJob");
InviteUserJob::InviteUserJob(const QString& roomId, const QString& userId)
: BaseJob(HttpVerb::Post, InviteUserJobName,
- basePath % "/rooms/" % roomId % "/invite")
+ basePath % "/rooms/" % roomId % "/invite")
{
QJsonObject _data;
addParam<>(_data, QStringLiteral("user_id"), userId);
setRequestData(_data);
}
-