@xuda.io/drive_module 1.1.1359 → 1.1.1360
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.mjs +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -871,7 +871,7 @@ export const rename_drive_folder = async (req) => {
|
|
|
871
871
|
}
|
|
872
872
|
|
|
873
873
|
case 'user':
|
|
874
|
-
doc_ret = await
|
|
874
|
+
doc_ret = await get_user_drive_file(uid, curr_path);
|
|
875
875
|
if (doc_ret.code < 0) {
|
|
876
876
|
throw new Error(doc_ret.data);
|
|
877
877
|
}
|
|
@@ -896,7 +896,7 @@ export const rename_drive_folder = async (req) => {
|
|
|
896
896
|
break;
|
|
897
897
|
|
|
898
898
|
case 'user':
|
|
899
|
-
save_ret = await
|
|
899
|
+
save_ret = await save_user_drive_file(uid, doc);
|
|
900
900
|
break;
|
|
901
901
|
|
|
902
902
|
default:
|