aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib/Controller/TemplateController.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/lib/Controller/TemplateController.php')
-rw-r--r--apps/files/lib/Controller/TemplateController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/Controller/TemplateController.php b/apps/files/lib/Controller/TemplateController.php
index 5a163343223..b17d9336a94 100644
--- a/apps/files/lib/Controller/TemplateController.php
+++ b/apps/files/lib/Controller/TemplateController.php
@@ -44,7 +44,7 @@ class TemplateController extends OCSController {
* @NoAdminRequired
*/
public function list(): DataResponse {
- return new DataResponse($this->templateManager->listCreators());
+ return new DataResponse($this->templateManager->listTemplates());
}
/**