Describe the bug
Trying to call the Magic operation returns the error: "Cannot read property 'undefined' of undefined"
To Reproduce
I started off by trying one of your examples and just changed the operation. When the op was "from morse code" it worked correctly, but does not work when given this input:
curl -X POST -H "Content-Type:application/json" -d '{"input":"... ---:.-.. --- -. --. --..--:.- -. -..:- .... .- -. -.- ...:..-. --- .-.:.- .-.. .-..:- .... .:..-. .. ... ....", "recipe":{"op":"Magic","args":[3,false,false,""]}}' localhost:3000/bake
Expected behavior
The same output as the "from morse code" operation
Node version:
v10.17.0
Describe the bug
Trying to call the Magic operation returns the error: "Cannot read property 'undefined' of undefined"
To Reproduce
I started off by trying one of your examples and just changed the operation. When the op was "from morse code" it worked correctly, but does not work when given this input:
curl -X POST -H "Content-Type:application/json" -d '{"input":"... ---:.-.. --- -. --. --..--:.- -. -..:- .... .- -. -.- ...:..-. --- .-.:.- .-.. .-..:- .... .:..-. .. ... ....", "recipe":{"op":"Magic","args":[3,false,false,""]}}' localhost:3000/bake
Expected behavior
The same output as the "from morse code" operation
Node version:
v10.17.0