From 5b5c5e3ac7723a058c0fd44e30a8ecc186bd7ca4 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Wed, 20 Nov 2024 13:23:54 +0800 Subject: [PATCH] Match definition of shared_with_me with other properties in OcsShareJob getShares Signed-off-by: Claudio Cambra --- src/gui/ocssharejob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/ocssharejob.cpp b/src/gui/ocssharejob.cpp index 8fe1615ff..1bc81dfd8 100644 --- a/src/gui/ocssharejob.cpp +++ b/src/gui/ocssharejob.cpp @@ -34,7 +34,7 @@ void OcsShareJob::getShares(const QString &path, const QMap &p addParam(QString::fromLatin1("path"), path); addParam(QString::fromLatin1("reshares"), QString("true")); - addParam("shared_with_me", "true"); + addParam(QString::fromLatin1("shared_with_me"), QString("true")); for (auto it = std::cbegin(params); it != std::cend(params); ++it) { addParam(it.key(), it.value());