Skip to content

Commit 73925ae

Browse files
committed
fix missing drive_id
1 parent f137d7c commit 73925ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aligo/apis/CustomShare.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def share_folder_by_aligo(self, parent_file_id: str, drive_id: str = None) -> st
9898
"""
9999
result = self.__share_folder_by_aligo(parent_file_id=parent_file_id, drive_id=drive_id)
100100
if parent_file_id != 'root':
101-
folder = self._core_get_file(GetFileRequest(file_id=parent_file_id))
101+
folder = self._core_get_file(GetFileRequest(file_id=parent_file_id, drive_id=drive_id))
102102
result = [[folder.name, result]]
103103
else:
104104
result = [['root', result]]

0 commit comments

Comments
 (0)