@xuda.io/drive_module 1.1.1065 → 1.1.1066
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 -9
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2097,17 +2097,10 @@ const save_drive_doc = async function (drive_type, app_id, doc) {
|
|
|
2097
2097
|
return save_ret;
|
|
2098
2098
|
};
|
|
2099
2099
|
|
|
2100
|
-
exports.compile_javascript_program_in_studio_drive = async function (
|
|
2101
|
-
req,
|
|
2102
|
-
job_id
|
|
2103
|
-
) {
|
|
2100
|
+
exports.compile_javascript_program_in_studio_drive = async function (req, doc) {
|
|
2104
2101
|
const { app_id, prog_id } = req;
|
|
2105
|
-
|
|
2102
|
+
|
|
2106
2103
|
try {
|
|
2107
|
-
const app_ret = await db_module.get_app_couch_doc(app_id, prog_id);
|
|
2108
|
-
if (app_ret.code > 0) {
|
|
2109
|
-
doc = app_ret.data;
|
|
2110
|
-
}
|
|
2111
2104
|
const studio_drive_script_folder = path.join(
|
|
2112
2105
|
_conf.studio_drive_path,
|
|
2113
2106
|
app_id,
|