Rename this public_handle -> file_id

This commit is contained in:
Ethan Dalool 2020-11-12 04:16:17 -08:00
parent d0cd38e5c5
commit e3cc36f028

View file

@ -588,11 +588,11 @@ class Mega:
if 'balance' in user_data: if 'balance' in user_data:
return user_data['balance'] return user_data['balance']
def delete(self, public_handle): def delete(self, file_id):
""" """
Delete a file by its 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): def delete_url(self, url):
""" """