Skip to content

Commit

Permalink
Merge pull request #4442 from nextcloud/fix/save-as-pdf-file-action-c…
Browse files Browse the repository at this point in the history
…onvert
  • Loading branch information
juliusknorr authored Feb 4, 2025
2 parents c7bcd92 + 4a1e749 commit 048cc2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Conversion/ConversionProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function convertFile(File $file, string $targetMimeType): mixed {
[$targetMimeType]
));
}

return $this->remoteService->convertFileTo($file, $targetFileExtension);
}

Expand Down Expand Up @@ -196,7 +196,7 @@ private function getTargetMimeTypes(): array {
return [
'application/pdf' => [
'extension' => 'pdf',
'displayName' => $this->l10n->t('Portable Document Format (.pdf)'),
'displayName' => $this->l10n->t('PDF (.pdf)'),
],
'image/png' => [
'extension' => 'png',
Expand Down

0 comments on commit 048cc2e

Please sign in to comment.