Skip to content
Snippets Groups Projects

Add serialization of requests of a lab into CSV

All threads resolved!
3 files
+ 16
0
Compare changes
  • Side-by-side
  • Inline

Files

@@ -467,6 +467,7 @@ public class LabController {
* @throws JsonProcessingException when something goes wrong processing requests.
*/
@GetMapping("/lab/{id}/export")
@PreAuthorize("@permissionService.canExportLab(principal, id)")
public ResponseEntity<Resource> downloadLabExport(@PathVariable Long id) throws JsonProcessingException {
Lab lab = labService.getLab(id);
Loading