Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch and overwrite in dropbox #131

Closed
lexoyo opened this issue Nov 25, 2017 · 0 comments
Closed

Batch and overwrite in dropbox #131

lexoyo opened this issue Nov 25, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@lexoyo
Copy link
Member

lexoyo commented Nov 25, 2017

Buenas notches senior
When I use batch to write a file in dropbox, it does not overwrite an existing file, and does not throw any error

      const batchActions = [{                                                                                                                                                                                      
        name: 'writefile',                                                                                                                                                                                         
        path: indexFile,                                                                                                                                                                                           
        content: html,                                                                                                                                                                                             
      }];
      unifile.batch(session.unifile, folder, batchActions)
      ...
@JbIPS JbIPS added the bug label Nov 25, 2017
@JbIPS JbIPS added this to the v2.0.1 milestone Nov 25, 2017
@JbIPS JbIPS self-assigned this Nov 26, 2017
JbIPS added a commit that referenced this issue Nov 26, 2017
* Batch correctly overwrite existing files
* Batch now rejects the promise if one writing action failed

Closes #131
JbIPS added a commit that referenced this issue Nov 26, 2017
* Fixes write batch in Dropbox
* Batch correctly overwrite existing files
* Batch now rejects the promise if one writing action failed
* Fixes delete batch
* Uses Buffer for Dropbox batch uploads

Closes #131
Closes #130
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants