Use patch instead of update in doUpdateCustomer, update is broken (#366)

This commit is contained in:
Ross Scroggs
2016-12-27 07:08:31 -08:00
committed by Jay Lee
parent d5bcac4d14
commit 5c32a86257

View File

@ -1753,7 +1753,7 @@ def doUpdateCustomer():
else:
print u'ERROR: %s is not a valid argument for "gam update customer"' % myarg
sys.exit(2)
callGAPI(cd.customers(), u'update', customerKey=GC_Values[GC_CUSTOMER_ID], body=body)
callGAPI(cd.customers(), u'patch', customerKey=GC_Values[GC_CUSTOMER_ID], body=body)
print u'Updated customer'
def doDelDomain():