mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
Use i, not 6 (#1526)
This commit is contained in:
@@ -27,7 +27,7 @@ def create():
|
|||||||
body['scopeType'])
|
body['scopeType'])
|
||||||
if body['scopeType'] == 'ORG_UNIT':
|
if body['scopeType'] == 'ORG_UNIT':
|
||||||
orgUnit, orgUnitId = gapi_directory_orgunits.getOrgUnitId(
|
orgUnit, orgUnitId = gapi_directory_orgunits.getOrgUnitId(
|
||||||
sys.argv[6], cd)
|
sys.argv[i], cd)
|
||||||
body['orgUnitId'] = orgUnitId[3:]
|
body['orgUnitId'] = orgUnitId[3:]
|
||||||
scope = f'ORG_UNIT {orgUnit}'
|
scope = f'ORG_UNIT {orgUnit}'
|
||||||
i = 7
|
i = 7
|
||||||
|
|||||||
Reference in New Issue
Block a user