fix error

This commit is contained in:
Peter Hormanns 2019-07-29 15:44:08 +02:00
parent 8b7cbc8de5
commit 91449219e9

View File

@ -103,7 +103,7 @@ public class JsonPillarServlet extends HttpServlet {
writer.println(" ]");
final Query domsQuery = em.createQuery("SELECT d FROM Domains d WHERE d.user.pac.hive.name = :hive");
domsQuery.setParameter("hive", hiveName);
final List<?> domsResult = pacsQuery.getResultList();
final List<?> domsResult = domsQuery.getResultList();
writer.println(" , \"doms\": [");
final Iterator<?> domsIterator = domsResult.iterator();
firstLoop = true;