diff options
Diffstat (limited to 'lib/csapi/openid.cpp')
-rw-r--r-- | lib/csapi/openid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/csapi/openid.cpp b/lib/csapi/openid.cpp index 5c93a2d7..7e89b8a6 100644 --- a/lib/csapi/openid.cpp +++ b/lib/csapi/openid.cpp @@ -9,8 +9,8 @@ using namespace Quotient; RequestOpenIdTokenJob::RequestOpenIdTokenJob(const QString& userId, const QJsonObject& body) : BaseJob(HttpVerb::Post, QStringLiteral("RequestOpenIdTokenJob"), - makePath("/_matrix/client/r0", "/user/", userId, + makePath("/_matrix/client/v3", "/user/", userId, "/openid/request_token")) { - setRequestData(RequestData(toJson(body))); + setRequestData({ toJson(body) }); } |