Skip to content

Commit 6d6037a

Browse files
committed
Update for ROR v2
1 parent dd068d9 commit 6d6037a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caltechdata_api/customize_schema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def grid_to_ror(grid):
1717
elif grid == "grid.465477.3":
1818
ror = "00em52312"
1919
else:
20-
url = f"https://api.ror.org/organizations?query.advanced=external_ids.GRID.all:{grid}"
20+
url = f"https://api.ror.org/organizations?query.advanced=external_ids.all:{grid}"
2121
results = requests.get(url).json()
2222
if len(results["items"]) == 0:
2323
print(url + "doesn't have a valid ROR")

0 commit comments

Comments
 (0)