[DECO-396] Send delete file requests with recursive set to false

This commit is contained in:
Shreyas Goenka 2022-11-30 13:51:04 +01:00
parent 2ebfa5f369
commit f216f55b18
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ func getRemoteSyncCallback(ctx context.Context, root, remoteDir string, w *datab
remoteNameCopy := remoteName
g.Go(func() error {
err := deleteFile(ctx, path.Join(remoteDir, remoteNameCopy), w)
err = deleteFile(ctx, path.Join(remoteDir, ""), w)
if err != nil {
return err
}