Skip to content

Commit

Permalink
Update ServerController.java
Browse files Browse the repository at this point in the history
  • Loading branch information
burdoto committed Apr 30, 2023
1 parent 7833fb2 commit db60758
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public String view(HttpSession session, Model model, @PathVariable UUID id) {
return new WebPagePreparator(model, "server/view")
.session(session, users, servers)
.setAttribute("server", result)
.complete(User::canManageServers);
.complete($->true);
}

@GetMapping("/console/{id}")
Expand Down

0 comments on commit db60758

Please sign in to comment.