Open
Description
When attempting to share a directory:
share_link = oc.share_file_with_link(directory)
I get
'id': data_el.find('id').text,
AttributeError: 'NoneType' object has no attribute 'text'
I know that the function explicitly talks about files, but documentation says I can share directories and there is not a share_directory_with_link function so I am working on basis that this function should work.
Error refers to line 833 - data=post_data
and post data is created on 818
post_data = {
'shareType': self.OCS_SHARE_TYPE_LINK,
'path': self._encode_string(path),
}
Any ideas?