@xuda.io/drive_module 1.1.1034 → 1.1.1035
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.
- package/index.js +5 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2098,6 +2098,11 @@ const get_drive_doc = async function (
|
|
|
2098
2098
|
const app_id_reference = await _common.get_project_app_id(app_id);
|
|
2099
2099
|
const file_name = path.basename(file_path);
|
|
2100
2100
|
const ext = path.extname(file_name).toLowerCase();
|
|
2101
|
+
const internal_file_path = path.join(
|
|
2102
|
+
_conf.studio_drive_path,
|
|
2103
|
+
app_id_reference,
|
|
2104
|
+
file_path
|
|
2105
|
+
);
|
|
2101
2106
|
const statsObj = fs.statSync(file_path);
|
|
2102
2107
|
doc = {
|
|
2103
2108
|
_id: file_path,
|