Asked by Julien Duflot on Dec 11, 2024
Julien encounters a 'customerPayload.main is not a function' error in their serverless function’s UI extension.
Answered by Julien Duflot
Julien resolves the error by ensuring the function is exported as `exports.main = async (context) => {...}` in the serverless code.