Hey! I’m trying to use a function that sends down a PDF to authenticated users.
I’m having problems reading the static PDF file when my function is deployed. I even found this example: https://github.com/netlify/function-deploy-test/blob/master/lambda/zipped-function/zipped-function.js
I copied this example line for line (and file for file) and this guy https://github.com/netlify/function-deploy-test/blob/master/lambda/zipped-function/zipped-function.js#L10
still prints “undefined” in the logs.