diff --git a/onyxia-api/src/main/java/fr/insee/onyxia/api/controller/api/mylab/MyLabController.java b/onyxia-api/src/main/java/fr/insee/onyxia/api/controller/api/mylab/MyLabController.java index 435aefe0..8451c222 100644 --- a/onyxia-api/src/main/java/fr/insee/onyxia/api/controller/api/mylab/MyLabController.java +++ b/onyxia-api/src/main/java/fr/insee/onyxia/api/controller/api/mylab/MyLabController.java @@ -232,7 +232,7 @@ private void suspendOrResume(Region region, Project project, String serviceId, b CatalogWrapper catalog = elligibleCatalogs.getFirst(); catalogId = catalog.getId(); } - Optional catalog = catalogService.getCatalogById(catalogId,user); + Optional catalog = catalogService.getCatalogById(catalogId, user); if (catalog.isEmpty()) { throw new IllegalStateException( "Catalog " + catalogId + " is not available anymore");