Skip to content

Commit

Permalink
fix: Revert change of extension which should refer to the new file ex…
Browse files Browse the repository at this point in the history
…tension

Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Aug 16, 2023
1 parent 6ff1851 commit b7fd4cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/TemplateManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ public function formatNodeReturn(File $template) {
'preview' => $this->urlGenerator->linkToRouteAbsolute('richdocuments.templates.getPreview', ['fileId' => $template->getId()]),
'type' => $this->flipTypes()[$template->getMimeType()],
'delete' => $this->urlGenerator->linkToRouteAbsolute('richdocuments.templates.delete', ['fileId' => $template->getId()]),
'extension' => $template->getExtension(),
'extension' => $ooxml ? self::TYPE_EXTENSION_OOXML[$documentType] : self::TYPE_EXTENTION[$documentType],
];
}

Expand Down

0 comments on commit b7fd4cd

Please sign in to comment.