mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-08 13:43:35 +00:00
Fixed casing for annotatedAssetId field based on Google API docs. (Letter "D" in annotatedAssetId had been erroneously capitalized)
This commit is contained in:
8
gam.py
8
gam.py
@ -4525,11 +4525,11 @@ def doUpdateCros():
|
|||||||
# sys.exit(3)
|
# sys.exit(3)
|
||||||
i += 2
|
i += 2
|
||||||
elif sys.argv[i].lower() in [u'tag', u'asset', u'assetid']:
|
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]
|
||||||
body[u'annotatedAssetID'] = sys.argv[i+1]
|
#annotatedAssetId - Handle Asset Tag Field 2015-04-13
|
||||||
i += 2
|
i += 2
|
||||||
elif sys.argv[i].lower() in [u'ou', u'org']:
|
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] != '/':
|
if body[u'orgUnitPath'][0] != '/':
|
||||||
body[u'orgUnitPath'] = u'/%s' % body[u'orgUnitPath']
|
body[u'orgUnitPath'] = u'/%s' % body[u'orgUnitPath']
|
||||||
i += 2
|
i += 2
|
||||||
|
Reference in New Issue
Block a user