exodus-framework 2.0.99997 → 2.0.99998

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,7 +26,7 @@ class FileMiddleware extends _controller.default {
26
26
  },
27
27
  filename: (req, file, cb) => {
28
28
  // const name = Date.now() + path.extname(file.originalname);
29
- const name = Date.now() + '_#_' + file.originalname;
29
+ const name = Date.now() + '_@_' + file.originalname;
30
30
  cb(null, name);
31
31
  }
32
32
  });
@@ -120,7 +120,7 @@ class FileLibraryService extends _service.default {
120
120
  const metaFilePath = _path.default.join(this.path, `${md5}.meta`);
121
121
  let originalName = _path.default.basename(filePath);
122
122
  if (temporary) {
123
- const split = originalName.split('_#_');
123
+ const split = originalName.split('_@_');
124
124
  originalName = split[split.length - 1];
125
125
  }
126
126
  await _fsExtra.default.move(filePath, newFilePath, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exodus-framework",
3
- "version": "2.0.99997",
3
+ "version": "2.0.99998",
4
4
  "description": "Exodus Framework",
5
5
  "author": "jhownpaixao",
6
6
  "license": "ISC",