@xuda.io/drive_module 1.1.1155 → 1.1.1156
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 +6 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -403,7 +403,12 @@ exports.get_drive_files = async function (req) {
|
|
|
403
403
|
throw new Error('drive_type error');
|
|
404
404
|
}
|
|
405
405
|
} catch (err) {
|
|
406
|
-
return err.message;
|
|
406
|
+
// return err.message;
|
|
407
|
+
|
|
408
|
+
return {
|
|
409
|
+
code: -1,
|
|
410
|
+
data: err.message,
|
|
411
|
+
};
|
|
407
412
|
}
|
|
408
413
|
};
|
|
409
414
|
|