Commit 31e4e1aa authored by Alan Mitchell's avatar Alan Mitchell

Fixed bad label in API error message.

parent 9c12c38d
......@@ -460,7 +460,7 @@ def organizations(request):
invalid_ids = set(org_ids) - set(all_org_ids)
if len(invalid_ids):
invalid_ids = [str(i) for i in invalid_ids]
messages['building_id'] = f"Invalid Organization IDs: {', '.join(list(invalid_ids))}"
messages['organization_id'] = f"Invalid Organization IDs: {', '.join(list(invalid_ids))}"
if messages:
return fail_payload(messages)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment