resolver fixes

This commit is contained in:
Erik 2020-09-18 03:30:12 +03:00
parent 4011683e8e
commit c2df48ba6f

View File

@ -201,7 +201,7 @@ class Resolver {
method = method.toLowerCase();
let resolved = [];
if (methods.reset.includes(method)) return { method: 'reset' };
if (methods.reset.includes(method)) return { method: 'reset', result: [], changed: [], resolved };
if (methods.off.includes(method)) return { method: 'off' };
if (methods.on.includes(method)) return { method: 'on' };