Skip to content

Commit

Permalink
feat: Delete Space.getSpaceByDisplayName API - Meeds-io/MIPs#150
Browse files Browse the repository at this point in the history
This change will delete the usage of getSpaceByDisplayName API since it's not unique anymore
  • Loading branch information
boubaker committed Oct 23, 2024
1 parent 2ff7cf5 commit 11267f9
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -487,10 +487,7 @@ public static Space getSpace(String id) {
if (space == null) {
space = spaceService.getSpaceByGroupId("/spaces/" + id);
if (space == null) {
space = spaceService.getSpaceByDisplayName(id);
if (space == null) {
space = spaceService.getSpaceById(id);
}
space = spaceService.getSpaceById(id);
}
}
return space;
Expand Down

0 comments on commit 11267f9

Please sign in to comment.