refactor to single bucket
This commit is contained in:
parent
452ccd068b
commit
b89bef6e89
7 changed files with 68 additions and 69 deletions
|
@ -6,7 +6,7 @@ const mkdirp = require('mkdirp');
|
|||
const stat = promisify(fs.stat);
|
||||
|
||||
class FSStorage {
|
||||
constructor(config, index, log) {
|
||||
constructor(config, log) {
|
||||
this.log = log;
|
||||
this.dir = config.file_dir;
|
||||
mkdirp.sync(this.dir);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue