Skip to content

Commit

Permalink
Merge pull request #1572 from ConductionNL/feature/OP-82/aggregations
Browse files Browse the repository at this point in the history
Add accept type for aggregations to zzcontroller
  • Loading branch information
rjzondervan authored Oct 18, 2023
2 parents 39c5b1b + 990eb79 commit d940191
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/src/Controller/ZZController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit d940191

Please sign in to comment.