@xuda.io/drive_module 1.1.666 → 1.1.667
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 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2051,7 +2051,11 @@ exports.search_drive_files = async function (req) {
|
|
|
2051
2051
|
data: search_results,
|
|
2052
2052
|
};
|
|
2053
2053
|
} catch (err) {
|
|
2054
|
-
return err.message;
|
|
2054
|
+
// return err.message;
|
|
2055
|
+
return {
|
|
2056
|
+
code: -200,
|
|
2057
|
+
data: err.message,
|
|
2058
|
+
};
|
|
2055
2059
|
}
|
|
2056
2060
|
};
|
|
2057
2061
|
|