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

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Service/AttachmentService.php')
-rw-r--r--lib/Service/AttachmentService.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Service/AttachmentService.php b/lib/Service/AttachmentService.php
index 625bb34d7..1a27265ef 100644
--- a/lib/Service/AttachmentService.php
+++ b/lib/Service/AttachmentService.php
@@ -196,8 +196,8 @@ class AttachmentService {
* @throws \OC\User\NoUserException
*/
public function getMediaFilePreviewPublic(int $documentId, string $mediaFileName, string $shareToken): ?array {
- $textFile = $this->getTextFilePublic($documentId, $shareToken);
- return $this->getMediaFilePreviewFile($mediaFileName, $textFile);
+ $textFile = $this->getTextFilePublic($documentId, $shareToken);
+ return $this->getMediaFilePreviewFile($mediaFileName, $textFile);
}
/**