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 a22d32e commit 07a3d30
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -489,10 +489,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 07a3d30

Please sign in to comment.