fixed variable interpreted in UpdateItemUser
All checks were successful
Build python package / Build (push) Successful in 26s
All checks were successful
Build python package / Build (push) Successful in 26s
This commit is contained in:
@@ -215,7 +215,7 @@ class GLPIAPI:
|
|||||||
"users_id" : username
|
"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)
|
return requests.put(uri, headers=self.Headers, json=body)
|
||||||
|
|
||||||
def SetCustomField(self, itemType, containerName, containerID, itemId, fieldName, data):
|
def SetCustomField(self, itemType, containerName, containerID, itemId, fieldName, data):
|
||||||
|
|||||||
Reference in New Issue
Block a user