mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-08 13:43:35 +00:00
Use update instead of patch in doUpdateOrg as patch doesn't work
This commit is contained in:
@ -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]
|
||||||
|
Reference in New Issue
Block a user