diff --git a/Sharely/share_file.py b/Sharely/share_file.py index f85db99..898a3c3 100644 --- a/Sharely/share_file.py +++ b/Sharely/share_file.py @@ -98,10 +98,8 @@ def callback(request_id, response, exception): } batch.add(service.permissions().update(fileId=file_id, - emailMessage=email_message, permissionId=ids[-1], - body=user_permission, - fields='id',)) + body=user_permission,)) batch.execute()