@nger/fk-upload 1.0.193 → 1.0.194

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.
@@ -270,12 +270,10 @@ let TaskManageController = class TaskManageController {
270
270
  async finishTask(filename, callback, ctx) {
271
271
  if (filename) {
272
272
  const item = this.db.manager.findOne(entities_1.FkDownloadTaskEntity, { where: { filename } });
273
+ console.log({ filename, callback });
273
274
  if (item) {
274
275
  await this.db.manager.update(entities_1.FkDownloadTaskEntity, filename, { status: 3 });
275
276
  }
276
- else {
277
- console.log({ filename, callback });
278
- }
279
277
  }
280
278
  ctx.redirect(callback);
281
279
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nger/fk-upload",
3
- "version": "1.0.193",
3
+ "version": "1.0.194",
4
4
  "description": "nger fk upload",
5
5
  "main": "dist/electon.js",
6
6
  "types": "dist/core.d.ts",