Function works in Netlify Dev but doesn't work when deployed

Hey @markgarrigan! :wave:t2:
Welcome to The Community :slight_smile:

Looks like you’re using the async function style for Lambda Handlers but still calling a callback function - sort of mixing the two styles of Lambda functions: async or sync. From your code, it looks like your intention is to use the sync version, so I’d just remove the async tag and you should be better off!

Hope that helps!


Jon