Skip to content

Commit 88e0ec5

Browse files
committed
Fix typos
1 parent 6b77564 commit 88e0ec5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dspace_rest_client/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ def create_collection(self, parent, data, embeds=None):
962962
# TODO: To be consistent with other create methods, this should probably also allow a Community object
963963
# to be passed instead of just the UUID as a string
964964
url = f'{self.API_ENDPOINT}/core/collections'
965-
params = parse_params(embeds=embed)
965+
params = parse_params(embeds=embeds)
966966
if parent is not None:
967967
params = {'parent': parent}
968968
return Collection(api_resource=parse_json(self.create_dso(url, params, data)))
@@ -1058,7 +1058,7 @@ def create_item_version(self, item_uuid, summary=None, embeds=None):
10581058

10591059
return None
10601060

1061-
def update_item(self, item):
1061+
def update_item(self, item, embeds=None):
10621062
"""
10631063
Update item. The Item passed to this method contains all the data, identifiers, links necessary to
10641064
perform the update to the API. Note this is a full update, not a patch / partial update operation.

0 commit comments

Comments
 (0)