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 9fb96b277d
commit 5b5c5e3ac7
No known key found for this signature in database
GPG key ID: C839200C384636B0

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());