diff --git a/src/gam.py b/src/gam.py index ca48a0b9..da686f0d 100755 --- a/src/gam.py +++ b/src/gam.py @@ -7048,7 +7048,7 @@ def doUpdateUser(users, i): body[u'emails'] = [{u'type': u'custom', u'customType': u'former_employee', u'primary': False, u'address': user_primary}] sys.stdout.write(u'updating user %s...\n' % user) if body: - callGAPI(cd.users(), u'patch', userKey=user, body=body) + callGAPI(cd.users(), u'update', userKey=user, body=body) if admin_body: callGAPI(cd.users(), u'makeAdmin', userKey=user, body=admin_body)