ruby-jss
ruby-jss copied to clipboard
Computer Group Site Assignment BugFix #66
This PR should fix the bug outlined in #66 where the smart group wouldn't properly update and throw a 409.
The changes made:
- Provided empty computer payload to ensure no conflicts
Details:
The Jamf Pro API assumes you want the same computers included in the group if you don't specify the <computers><computer /></computers>
section of the XML payload. This is why we get a 409 since one or more computers in the group might not be assigned to the site the group is being moved to.