This commit is contained in:
Akito123321 2024-08-29 18:08:34 +02:00
parent 002ca575f2
commit 6d0445417c

View File

@ -252,7 +252,7 @@ public class GroupRestAPI {
Group group = groupService.getGroupById(id);
Strat strat = stratService.getStratById(stratId);
if (group == null | strat == null) {
if (group == null || strat == null) {
return ResponseEntity.notFound().build();
}
if (!group.getMembers().contains(user)) {