I created a function in my workflow, but there doesn't seem to be a way to call that function.
I have a function called createHmac with 2 arguments. I created a code block that needs this function. I can only get an object of createHmac. When I try to use it as a function by passing two arguments to the function, I get the following error:
Promise object could not be cloned.
var authorization = createHmac('get', '/mysqldatabases');
return {authorization: authorization}