From 2d643a551c5aac0d4f080f3f60a39327f8da96b7 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Wed, 28 Oct 2015 12:26:32 -0700 Subject: [PATCH] Use update instead of patch in doUpdateOrg as patch doesn't work --- src/gam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gam.py b/src/gam.py index f0dafe00..0b3e552a 100644 --- a/src/gam.py +++ b/src/gam.py @@ -5850,7 +5850,7 @@ def doUpdateOrg(): sys.exit(2) if orgUnitPath[0] == u'/': # we don't want a / at the beginning for OU updates 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(): email = sys.argv[2]