@xuda.io/drive_module 1.1.1254 → 1.1.1255
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
|
@@ -1119,7 +1119,7 @@ export const upload_drive_file = async (req, job_id, headers, file_obj) => {
|
|
|
1119
1119
|
if (await fs_module.file_exists(target_file)) {
|
|
1120
1120
|
return {
|
|
1121
1121
|
code: -762,
|
|
1122
|
-
data:
|
|
1122
|
+
data: `file already exist`,
|
|
1123
1123
|
};
|
|
1124
1124
|
}
|
|
1125
1125
|
|
|
@@ -1228,7 +1228,7 @@ export const check_drive_file = async (req, job_id, headers, file_obj) => {
|
|
|
1228
1228
|
if (await fs_module.file_exists(target_file)) {
|
|
1229
1229
|
return {
|
|
1230
1230
|
code: -764,
|
|
1231
|
-
data:
|
|
1231
|
+
data: `${type} exist`,
|
|
1232
1232
|
};
|
|
1233
1233
|
}
|
|
1234
1234
|
|