From 5e3e9290c217f15aae5b64c91934b4acf097b093 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thorsten=20Ro=C3=9Fner?= <thorsten.rossner.extern@zendis.de>
Date: Mon, 10 Jun 2024 16:18:58 +0200
Subject: [PATCH] fix: Also print entryuuid in log output.

---
 lib/ucs.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/ucs.py b/lib/ucs.py
index 7c591bd..f12346a 100644
--- a/lib/ucs.py
+++ b/lib/ucs.py
@@ -155,7 +155,8 @@ class Ucs:
             logging.error(f"2/2: Request body: {json.dumps(self.create_user_json)}")
             sys.exit(response.text)
         else:
-            logging.debug(f"{person['username']}: {person['password']} - {response}")
+            response_json=json.loads(response.text)
+            logging.debug(f"{person['username']}: {person['password']} - {response} - {response_json['uuid']}")
             self.counter += 1
             self.__write_account_credentials(person['username']+"\t"+person['password'])
 
-- 
GitLab