@nger/fk-upload 1.0.193 → 1.0.194

Sign up to get free protection for your applications and to get access to all the features.
@@ -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",