From a9993ad361f3ca6b92c4f6f3925bfe7cc98be915 Mon Sep 17 00:00:00 2001 From: Erik Pitti Date: Mon, 13 Apr 2015 17:35:31 -0700 Subject: [PATCH] Fixed casing for annotatedAssetId field based on Google API docs. (Letter "D" in annotatedAssetId had been erroneously capitalized) --- gam.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gam.py b/gam.py index 96c1ecce..6fc33061 100755 --- a/gam.py +++ b/gam.py @@ -4525,11 +4525,11 @@ def doUpdateCros(): # sys.exit(3) i += 2 elif sys.argv[i].lower() in [u'tag', u'asset', u'assetid']: - #annotatedAssetID - Handle Asset Tag Field 2015-04-13 - body[u'annotatedAssetID'] = sys.argv[i+1] - i += 2 + body[u'annotatedAssetId'] = sys.argv[i + 1] + #annotatedAssetId - Handle Asset Tag Field 2015-04-13 + i += 2 elif sys.argv[i].lower() in [u'ou', u'org']: - body[u'orgUnitPath'] = sys.argv[i+1] + body[u'orgUnitPath'] = sys.argv[i + 1] if body[u'orgUnitPath'][0] != '/': body[u'orgUnitPath'] = u'/%s' % body[u'orgUnitPath'] i += 2