diff options
Diffstat (limited to 'src/gui/ocssharejob.cpp')
-rw-r--r-- | src/gui/ocssharejob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/ocssharejob.cpp b/src/gui/ocssharejob.cpp index 753c01a5b..8af2b485f 100644 --- a/src/gui/ocssharejob.cpp +++ b/src/gui/ocssharejob.cpp @@ -25,7 +25,6 @@ OcsShareJob::OcsShareJob(AccountPtr account) : OcsJob(account) { setPath("ocs/v1.php/apps/files_sharing/api/v1/shares"); - addParam(QString::fromLatin1("reshares"), QString::fromLatin1("true")); connect(this, &OcsJob::jobFinished, this, &OcsShareJob::jobDone); } @@ -34,6 +33,7 @@ void OcsShareJob::getShares(const QString &path) setVerb("GET"); addParam(QString::fromLatin1("path"), path); + addParam(QLatin1String("reshares"), QLatin1String("true")); addPassStatusCode(404); start(); |