Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/fulltextsearch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Command/DocumentPlatform.php')
-rw-r--r--lib/Command/DocumentPlatform.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Command/DocumentPlatform.php b/lib/Command/DocumentPlatform.php
index b64d4e8..72315e0 100644
--- a/lib/Command/DocumentPlatform.php
+++ b/lib/Command/DocumentPlatform.php
@@ -84,7 +84,8 @@ class DocumentPlatform extends ExtendedBase {
$providerId = $input->getArgument('providerId');
$documentId = $input->getArgument('documentId');
- $platform = $this->platformService->getPlatform();
+ $wrapper = $this->platformService->getPlatform();
+ $platform = $wrapper->getPlatform();
$indexDocument = $platform->getDocument($providerId, $documentId);
$result = [