Rename this public_handle -> file_id
This commit is contained in:
parent
d0cd38e5c5
commit
e3cc36f028
1 changed files with 2 additions and 2 deletions
|
@ -588,11 +588,11 @@ class Mega:
|
|||
if 'balance' in user_data:
|
||||
return user_data['balance']
|
||||
|
||||
def delete(self, public_handle):
|
||||
def delete(self, file_id):
|
||||
"""
|
||||
Delete a file by its file id.
|
||||
"""
|
||||
return self.move(public_handle, self._trash_folder_node_id)
|
||||
return self.move(file_id, self._trash_folder_node_id)
|
||||
|
||||
def delete_url(self, url):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue