Skip to content

Commit

Permalink
#150: Fix data creation
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Nov 25, 2020
1 parent 9edd0e9 commit ce048da
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions datagateway_api/common/icat/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,7 @@ def create_entities(client, entity_type, data):

for result in data:
new_entity = client.new(
get_icat_entity_name_as_camel_case(
client, entity_type, camel_case_output=True,
),
get_icat_entity_name_as_camel_case(client, entity_type),
)

for attribute_name, value in result.items():
Expand Down

0 comments on commit ce048da

Please sign in to comment.