diff --git a/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java b/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java index 91c85d2..2bb2c3c 100644 --- a/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java +++ b/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java @@ -101,6 +101,11 @@ public class JsonPillarServlet extends HttpServlet { int quota = pacQuota.getQuantity(); writer.println(" , \"quota\": " + quota); } + final PacComponent pacStorage = pac.getPacComponent("STORAGE"); + if (pacStorage != null) { + int storage = pacStorage.getQuantity(); + writer.println(" , \"storage\": " + storage); + } final PacComponent pacOffice = pac.getPacComponent("OFFICE"); if (pacOffice != null) { int office = pacOffice.getQuantity();