diff --git a/api/src/Controller/ZZController.php b/api/src/Controller/ZZController.php index 98b008344..cb86c329f 100644 --- a/api/src/Controller/ZZController.php +++ b/api/src/Controller/ZZController.php @@ -183,6 +183,8 @@ private function getAcceptType(Request $request): string return 'html'; case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': return 'docx'; + case 'application/json+aggregations': + return 'aggregations'; }//end switch throw new BadRequestHttpException('No proper accept could be determined');