node-nikita icon indicating copy to clipboard operation
node-nikita copied to clipboard

engine: `relax: true` creates an error

Open sergkudinov opened this issue 4 years ago • 0 comments

Action returns an error when metadata: relax: true and error is not thrown in action.

To reproduce

run:

{error} = await nikita.call metadata: relax: true, -> true
console.log error

It returns an error:

TypeError: prom.then is not a function
    at /path/to/node-nikita/packages/engine/src/metadata/relax.coffee:27:14

sergkudinov avatar Jan 20 '21 15:01 sergkudinov