Skip to content

Commit

Permalink
Merge pull request #1552 from ConductionNL/fix/BEL-17/respons-types
Browse files Browse the repository at this point in the history
Add xlsx and csv to content types on admin endpoints
  • Loading branch information
rjzondervan authored Sep 14, 2023
2 parents de7d0a9 + a91d4aa commit d94a549
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/src/Controller/ZZController.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ private function getAcceptType(Request $request): string
case 'text/xml':
case 'application/xml':
return 'xml';
case 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet':
return 'xlsx';
case 'text/csv':
return 'csv';
case 'text/html':
return 'html';
case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document':
Expand Down

0 comments on commit d94a549

Please sign in to comment.