@xuda.io/drive_module 1.1.1007 → 1.1.1008
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 +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1488,7 +1488,7 @@ exports.delete_file_bulk = async function (req) {
|
|
|
1488
1488
|
|
|
1489
1489
|
exports.upload_drive_file = async function (req, job_id, headers, file_obj) {
|
|
1490
1490
|
try {
|
|
1491
|
-
const { drive_type, app_id, uid, make_public, tags =
|
|
1491
|
+
const { drive_type, app_id, uid, make_public, tags = "" } = req;
|
|
1492
1492
|
|
|
1493
1493
|
/// validations
|
|
1494
1494
|
validate_drive_type(drive_type);
|
|
@@ -1516,7 +1516,7 @@ exports.upload_drive_file = async function (req, job_id, headers, file_obj) {
|
|
|
1516
1516
|
|
|
1517
1517
|
let tags_arr = [];
|
|
1518
1518
|
try {
|
|
1519
|
-
tags_arr.split(",");
|
|
1519
|
+
tags_arr = tags.split(",");
|
|
1520
1520
|
} catch (error) {}
|
|
1521
1521
|
|
|
1522
1522
|
var doc = {
|