Skip to content

Commit

Permalink
Update MyLabController.java
Browse files Browse the repository at this point in the history
  • Loading branch information
fcomte committed Aug 2, 2024
1 parent a279949 commit 5e48651
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ private void suspendOrResume(Region region, Project project, String serviceId, b
CatalogWrapper catalog = elligibleCatalogs.getFirst();
catalogId = catalog.getId();
}
Optional<CatalogWrapper> catalog = catalogService.getCatalogById(catalogId,user);
Optional<CatalogWrapper> catalog = catalogService.getCatalogById(catalogId, user);
if (catalog.isEmpty()) {
throw new IllegalStateException(
"Catalog " + catalogId + " is not available anymore");
Expand Down

0 comments on commit 5e48651

Please sign in to comment.