Skip to content

Commit

Permalink
[#98] return full response when adding file
Browse files Browse the repository at this point in the history
  • Loading branch information
sblack-usu committed Jan 15, 2019
1 parent d224611 commit becdf2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hs_restclient/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ def addResourceFile(self, pid, resource_file, resource_filename=None, progress_c
response = r.json()
assert(response['resource_id'] == pid)

return response['resource_id']
return response

def getResourceFile(self, pid, filename, destination=None):
""" Get a file within a resource.
Expand Down

0 comments on commit becdf2e

Please sign in to comment.