diff options
Diffstat (limited to 'lib/csapi/device_management.h')
-rw-r--r-- | lib/csapi/device_management.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/csapi/device_management.h b/lib/csapi/device_management.h index 978d94d3..338f8529 100644 --- a/lib/csapi/device_management.h +++ b/lib/csapi/device_management.h @@ -6,7 +6,7 @@ #include "jobs/basejob.h" -#include <QtCore/QJsonObject> +#include "csapi/definitions/auth_data.h" #include <QtCore/QVector> #include "converters.h" #include "csapi/definitions/client_device.h" @@ -112,7 +112,7 @@ namespace QMatrixClient * Additional authentication information for the * user-interactive authentication API. */ - explicit DeleteDeviceJob(const QString& deviceId, const QJsonObject& auth = {}); + explicit DeleteDeviceJob(const QString& deviceId, const Omittable<AuthenticationData>& auth = none); }; /// Bulk deletion of devices @@ -130,6 +130,6 @@ namespace QMatrixClient * Additional authentication information for the * user-interactive authentication API. */ - explicit DeleteDevicesJob(const QStringList& devices, const QJsonObject& auth = {}); + explicit DeleteDevicesJob(const QStringList& devices, const Omittable<AuthenticationData>& auth = none); }; } // namespace QMatrixClient |