Skip to content

Commit edb4124

Browse files
authored
Fix bulkupdate 500 error: remove unused version arg from retrieve_organization call (#523)
1 parent 4781d91 commit edb4124

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rorapi/common/csv_update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def update_record_from_csv(csv_data, version):
1313
errors = []
1414
updated_record = None
1515
print("updating record from csv")
16-
existing_org_errors, existing_org = retrieve_organization(csv_data['id'], version)
16+
existing_org_errors, existing_org = retrieve_organization(csv_data['id'])
1717
print(existing_org)
1818
if existing_org is None:
1919
errors.append("No existing record found for ROR ID '{}'".format(csv_data['id']))

0 commit comments

Comments
 (0)