aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/content-repo.cpp
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-08-23 09:12:39 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-08-23 09:12:39 +0200
commit2914657e594b46bcdc04d320732fa1799978c0a8 (patch)
tree18e47baa175a109e9a64491b35889ef4375264fd /lib/csapi/content-repo.cpp
parent3cbc13a33c81a75e18c415bd31cc2156461ffa1f (diff)
parent93cee89f9a99e51275ac9cd304180499b0543eea (diff)
downloadlibquotient-2914657e594b46bcdc04d320732fa1799978c0a8.tar.gz
libquotient-2914657e594b46bcdc04d320732fa1799978c0a8.zip
Merge branch 'kitsune/deprecations'
Diffstat (limited to 'lib/csapi/content-repo.cpp')
-rw-r--r--lib/csapi/content-repo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/content-repo.cpp b/lib/csapi/content-repo.cpp
index 00bc9706..2d82437b 100644
--- a/lib/csapi/content-repo.cpp
+++ b/lib/csapi/content-repo.cpp
@@ -22,7 +22,7 @@ UploadContentJob::UploadContentJob(QIODevice* content, const QString& filename,
queryToUploadContent(filename))
{
setRequestHeader("Content-Type", contentType.toLatin1());
- setRequestData(Data(content));
+ setRequestData(RequestData(content));
addExpectedKey("content_uri");
}