Closed GGalupo closed 5 months ago
@GGalupo Hey, so I don't think this is an issue since if you use the headshots template 1:1 and the template workflow this will work.
If someone edits their workflow to not have those outputs then it would be up to them to update their code to show that too
If the output from train-webhook endpoint doesn't have enough items to fill
headshots_part_2
,headshots_part_3
orheadshots_part_4
, a TypeError will be thrown, because it's trying to iterate onundefined
to createallHeadshots
const.This behavior makes the function execution to stop, and images are not saved on the database.
Output
Error message on Vercel console
I'll make a PR to fix this issue.