From 6fdb91fdc8768ed1fb4095495f1f4036f83a2561 Mon Sep 17 00:00:00 2001 From: joan Date: Thu, 13 May 2021 10:20:22 +0200 Subject: [PATCH] Removed line --- modules/ticket/back/methods/ticket/restore.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/ticket/back/methods/ticket/restore.js b/modules/ticket/back/methods/ticket/restore.js index 6a0d65a17..a3a79dc7c 100644 --- a/modules/ticket/back/methods/ticket/restore.js +++ b/modules/ticket/back/methods/ticket/restore.js @@ -24,8 +24,7 @@ module.exports = Self => { Self.restore = async(ctx, id, options) => { const models = Self.app.models; const $t = ctx.req.__; // $translate - - let myOptions = {}; + const myOptions = {}; if (typeof options == 'object') Object.assign(myOptions, options);