Skip to content
Snippets Groups Projects

Resolve "[Queue-2.0] Removing Labs"

Files

@@ -17,7 +17,6 @@
*/
package nl.tudelft.queue.controller;
import java.time.LocalDateTime;
import java.util.Comparator;
import java.util.List;
import java.util.Optional;
@@ -353,7 +352,7 @@ public class LabController {
@PostMapping("/lab/{lab}/delete")
@PreAuthorize("@permissionService.canManageLab(#lab)")
public String deleteLab(@PathEntity Lab lab) {
lab.setDeletedAt(LocalDateTime.now());
ls.deleteLab(lab);
var session = sCache.getOrThrow(lab.getSession());
// TODO: Redirect to an edition collection specific page for shared labs
Loading