From 5bee5c0c896c3f952a2e37ae0ea8de12d24c02cf Mon Sep 17 00:00:00 2001 From: Sarai Misidjan Date: Wed, 13 Sep 2023 16:43:26 +0200 Subject: [PATCH] fix acceptType --- api/src/Controller/ZZController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Controller/ZZController.php b/api/src/Controller/ZZController.php index a39f51227..eb3587cc2 100644 --- a/api/src/Controller/ZZController.php +++ b/api/src/Controller/ZZController.php @@ -161,7 +161,7 @@ private function getAcceptType(Request $request): string return 'xml'; case 'text/html': return 'html'; - case 'text/docx': + case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': return 'docx'; }//end switch