Skip to content

Commit

Permalink
#145: Correct mistake made in merge conflict resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Dec 2, 2020
1 parent 4d00fb2 commit ed3fe4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/icat/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def create(self, session_id, table, data, **kwargs):
@queries_records
def update(self, session_id, table, data, **kwargs):
client = kwargs["client"] if kwargs["client"] else create_client()
return update_entities(client, table.__name__, data)
return create_entities(client, table.__name__, data)

@requires_session_id
@queries_records
Expand Down

0 comments on commit ed3fe4f

Please sign in to comment.