Match definition of shared_with_me with other properties in OcsShareJob getShares

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-11-20 13:23:54 +08:00
parent 0c32d78c42
commit a8b0f23530

View file

@ -34,7 +34,7 @@ void OcsShareJob::getShares(const QString &path, const QMap<QString, QString> &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());