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);