Use update instead of patch in doUpdateOrg as patch doesn't work

This commit is contained in:
Ross Scroggs
2015-10-28 12:26:32 -07:00
parent b16d75ec43
commit 2d643a551c

View File

@ -5850,7 +5850,7 @@ def doUpdateOrg():
sys.exit(2) sys.exit(2)
if orgUnitPath[0] == u'/': # we don't want a / at the beginning for OU updates if orgUnitPath[0] == u'/': # we don't want a / at the beginning for OU updates
orgUnitPath = orgUnitPath[1:] orgUnitPath = orgUnitPath[1:]
callGAPI(service=cd.orgunits(), function=u'patch', customerId=customerId, orgUnitPath=orgUnitPath, body=body) callGAPI(service=cd.orgunits(), function=u'update', customerId=customerId, orgUnitPath=orgUnitPath, body=body)
def doWhatIs(): def doWhatIs():
email = sys.argv[2] email = sys.argv[2]