mirror of
https://github.com/rclone/rclone.git
synced 2025-06-05 20:34:39 +08:00
drive: stop sending notification emails when setting permissions
This commit is contained in:
@ -144,6 +144,7 @@ func (f *Fs) setPermissions(ctx context.Context, info *drive.File, permissions [
|
||||
err = f.pacer.Call(func() (bool, error) {
|
||||
_, err = f.svc.Permissions.Create(info.Id, perm).
|
||||
SupportsAllDrives(true).
|
||||
SendNotificationEmail(false).
|
||||
Context(ctx).Do()
|
||||
return f.shouldRetry(ctx, err)
|
||||
})
|
||||
|
Reference in New Issue
Block a user