@xuda.io/drive_module 1.1.519 → 1.1.521
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 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -119,7 +119,7 @@ exports.get_drive_files = async function (req) {
|
|
|
119
119
|
size: formatBytes(doc.size),
|
|
120
120
|
extension: doc?.file_ext?.substr(1),
|
|
121
121
|
type: doc.type,
|
|
122
|
-
access_link: `https://${process.env.XUDA_HOSTNAME}/workspace-drive/${app_id}/${doc._id}
|
|
122
|
+
access_link: `https://${process.env.XUDA_HOSTNAME}/workspace-drive/${app_id}/${doc._id}`, //?gtp_token=${gtp_token}
|
|
123
123
|
is_archive: doc.is_archive,
|
|
124
124
|
public: doc.public,
|
|
125
125
|
path: "/" + doc._id,
|
|
@@ -1880,6 +1880,8 @@ exports.get_drive_size = async function (req) {
|
|
|
1880
1880
|
// } else {
|
|
1881
1881
|
// ref = await _common.get_project_app_id(app_id, true);
|
|
1882
1882
|
// }
|
|
1883
|
+
|
|
1884
|
+
debugger;
|
|
1883
1885
|
let app_id_master, directoryPath;
|
|
1884
1886
|
switch (drive_type) {
|
|
1885
1887
|
case "user":
|