Correction bug

This commit is contained in:
Jason SECULA
2026-02-02 15:44:05 +01:00
parent 7d980a744d
commit 2b021d633a

View File

@ -59,8 +59,8 @@ class GLPIAPI:
deviceID = list(search["data"].keys())
return deviceID, search["data"], search["totalcount"]
else:
return None, None, 0
return None, None, 0
return "", "", 0
return "", "", 0
def GetUser(self, username=None, email=None):
@ -81,7 +81,7 @@ class GLPIAPI:
userID = list(search["data"].keys())
return userID, search["data"], search["totalcount"]
else:
return None, None, 0
return "", "", 0
def UpdateInventory(self, inventory):
headers = {