Quick question...
Following along the README of editly, I managed to create videos after calling editly like this:
// create video
editly(editSpec)
.catch(console.error);
Unfortunately, I am using ExpressJS to do this and I need to send back a response when video creation completes.
However, when I tried to extract any value using .then, it returns undefined:
// create video
editly(editSpec)
.then(r => {
console.log(`Is this undefined? Probably yes! r: `, r)
res.json(r)
})
.catch(console.error);
How can I accomplish this?