Allow lookup_organization to find teams and resources from different orgs

This commit is contained in:
Eric C Chong
2025-03-12 13:32:51 -04:00
committed by GitHub
parent 6f7d5ca8a3
commit 8fb5862223
2 changed files with 49 additions and 1 deletions

View File

@@ -268,7 +268,7 @@ def main():
for resource in value:
# Attempt to look up project based on the provided name, ID, or named URL and lookup data
lookup_key = key
if key == 'organizations' or key == 'users':
if key == 'organizations' or key == 'users' or key == 'teams':
lookup_data_populated = {}
else:
lookup_data_populated = lookup_data