cozy / ACH

Import/Export data from your Cozy
4 stars 5 forks source link

fix: importDir uses the same structure as source directory #85

Closed drazik closed 3 years ago

drazik commented 3 years ago

Fixes #84

The files were uploaded with parent folder's id as path. So they were not in the directory they belong to, but in a directory located at the root and named after the real file's parent directory id.

This is fixed by giving the parent folder's path instead of id to the uploadFile function.