nexus-backend 1.0.6 → 1.0.7
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/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10658,7 +10658,8 @@ var uploader = {
|
|
|
10658
10658
|
getNexusDownloadUrl: async (fileId) => {
|
|
10659
10659
|
try {
|
|
10660
10660
|
const res = await import_axios.default.get(`${BASE_URL}/getFile`, {
|
|
10661
|
-
params: { file_id: fileId }
|
|
10661
|
+
params: { file_id: fileId },
|
|
10662
|
+
timeout: 15e3
|
|
10662
10663
|
});
|
|
10663
10664
|
if (!res.data?.ok || !res.data?.result?.file_path) {
|
|
10664
10665
|
throw new Error("Invalid nexus cloud file response");
|