From acbd11369e03247921f6848d05d6f2399124f9fb Mon Sep 17 00:00:00 2001 From: Jason SECULA Date: Thu, 19 Mar 2026 09:03:05 +0100 Subject: [PATCH] fixed variable interpreted in UpdateItemUser --- GLPIAPI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GLPIAPI.py b/GLPIAPI.py index 831103a..1ea9649 100644 --- a/GLPIAPI.py +++ b/GLPIAPI.py @@ -215,7 +215,7 @@ class GLPIAPI: "users_id" : username } } - uri = f"{self.Server}/apirest.php/itemType/" + uri = f"{self.Server}/apirest.php/{itemType}/" return requests.put(uri, headers=self.Headers, json=body) def SetCustomField(self, itemType, containerName, containerID, itemId, fieldName, data):