@nger/fk-upload 1.0.215 → 1.0.216

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.
@@ -109,9 +109,8 @@ class DownloadTask extends rabbitmq_1.Task {
109
109
  const headers = resp.headers;
110
110
  total = Number(headers["content-length"]);
111
111
  if (total > 1024 * 1024 * 1024) {
112
- sub.error(new Error(`文件超出1G`));
113
- await _defer;
114
112
  await db.manager.update(download_task_1.FkDownloadTask, download.id, { isBigFile: true, desc: '文件超出1G', status: `6` });
113
+ sub.error(new Error(`文件超出1G`));
115
114
  return;
116
115
  }
117
116
  const useSize = download.w7Account.fkAccount.usedSize + total;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nger/fk-upload",
3
- "version": "1.0.215",
3
+ "version": "1.0.216",
4
4
  "description": "nger fk upload",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",