From 91449219e9873d82708c431328ca73eb0b782faf Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@jalin.de>
Date: Mon, 29 Jul 2019 15:44:08 +0200
Subject: [PATCH] fix error

---
 hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java b/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java
index 87b5983..92c2cec 100644
--- a/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java
+++ b/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java
@@ -103,7 +103,7 @@
 		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;

--
Gitblit v1.9.0-SNAPSHOT