diff options
Diffstat (limited to 'jobs/generated/login.cpp')
-rw-r--r-- | jobs/generated/login.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jobs/generated/login.cpp b/jobs/generated/login.cpp index bbfff0da..67d991db 100644 --- a/jobs/generated/login.cpp +++ b/jobs/generated/login.cpp @@ -44,6 +44,8 @@ LoginJob::LoginJob(const QString& type, const QString& user, const QString& medi if (!initialDeviceDisplayName.isEmpty()) _data.insert("initial_device_display_name", toJson(initialDeviceDisplayName)); setRequestData(_data); + + addExpectedContentType("application/json"); } LoginJob::~LoginJob() = default; |