mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
Use patch instead of update in doUpdateCustomer, update is broken (#366)
This commit is contained in:
@@ -1753,7 +1753,7 @@ def doUpdateCustomer():
|
|||||||
else:
|
else:
|
||||||
print u'ERROR: %s is not a valid argument for "gam update customer"' % myarg
|
print u'ERROR: %s is not a valid argument for "gam update customer"' % myarg
|
||||||
sys.exit(2)
|
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'
|
print u'Updated customer'
|
||||||
|
|
||||||
def doDelDomain():
|
def doDelDomain():
|
||||||
|
|||||||
Reference in New Issue
Block a user