drive: stop sending notification emails when setting permissions
This commit is contained in:
parent
f167846fb9
commit
d11fe9779e
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue