@xuda.io/drive_module 1.1.1332 → 1.1.1334
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.mjs +2 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -92,7 +92,7 @@ export const get_drive_files = async (req) => {
|
|
|
92
92
|
sort,
|
|
93
93
|
};
|
|
94
94
|
|
|
95
|
-
if (!superuser_account_ids.includes(uid)) {
|
|
95
|
+
if (!_conf.superuser_account_ids.includes(uid)) {
|
|
96
96
|
opt.selector.is_system = { $exists: false };
|
|
97
97
|
}
|
|
98
98
|
|
|
@@ -1245,6 +1245,7 @@ export const upload_drive_file = async (req, job_id, headers, file_obj) => {
|
|
|
1245
1245
|
server_file_name: file_name,
|
|
1246
1246
|
filename: file_obj.originalname,
|
|
1247
1247
|
file_url,
|
|
1248
|
+
file_path,
|
|
1248
1249
|
},
|
|
1249
1250
|
rename: check_existing_file_ret < 0,
|
|
1250
1251
|
};
|