@xuda.io/drive_module 1.1.1057 → 1.1.1058
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 +3 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2097,10 +2097,8 @@ 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
|
-
app_id,
|
|
2102
|
-
prog_id
|
|
2103
|
-
) {
|
|
2100
|
+
exports.compile_javascript_program_in_studio_drive = async function (req) {
|
|
2101
|
+
const { app_id, prog_id } = req;
|
|
2104
2102
|
try {
|
|
2105
2103
|
const { data: doc } = await db_module.get_app_couch_doc(app_id, prog_id);
|
|
2106
2104
|
|
|
@@ -2300,6 +2298,7 @@ export default {
|
|
|
2300
2298
|
data: build_ret,
|
|
2301
2299
|
dependencies: devDependencies,
|
|
2302
2300
|
};
|
|
2301
|
+
|
|
2303
2302
|
db_module.save_app_couch_doc(app_id, doc);
|
|
2304
2303
|
} catch (err) {
|
|
2305
2304
|
doc.vite_build_res = {
|