{"action":"created","issue":{"url":"https://api.github.com/repos/isummation/lambda-pdf-generator/issues/1","repository_url":"https://api.github.com/repos/isummation/lambda-pdf-generator","labels_url":"https://api.github.com/repos/isummation/lambda-pdf-generator/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/isummation/lambda-pdf-generator/issues/1/comments","events_url":"https://api.github.com/repos/isummation/lambda-pdf-generator/issues/1/events","html_url":"https://github.com/isummation/lambda-pdf-generator/pull/1","id":338591410,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5NDgzMTcy","number":1,"title":"Fix undefined variable destFile","user":{"login":"nstapelbroek","id":3368018,"node_id":"MDQ6VXNlcjMzNjgwMTg=","avatar_url":"https://avatars2.githubusercontent.com/u/3368018?v=4","gravatar_id":"","url":"https://api.github.com/users/nstapelbroek","html_url":"https://github.com/nstapelbroek","followers_url":"https://api.github.com/users/nstapelbroek/followers","following_url":"https://api.github.com/users/nstapelbroek/following{/other_user}","gists_url":"https://api.github.com/users/nstapelbroek/gists{/gist_id}","starred_url":"https://api.github.com/users/nstapelbroek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nstapelbroek/subscriptions","organizations_url":"https://api.github.com/users/nstapelbroek/orgs","repos_url":"https://api.github.com/users/nstapelbroek/repos","events_url":"https://api.github.com/users/nstapelbroek/events{/privacy}","received_events_url":"https://api.github.com/users/nstapelbroek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-05T14:09:55Z","updated_at":"2018-07-17T10:42:02Z","closed_at":"2018-07-17T10:39:10Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/isummation/lambda-pdf-generator/pulls/1","html_url":"https://github.com/isummation/lambda-pdf-generator/pull/1","diff_url":"https://github.com/isummation/lambda-pdf-generator/pull/1.diff","patch_url":"https://github.com/isummation/lambda-pdf-generator/pull/1.patch"},"body":"Hi there,\r\n\r\nAwesome blogpost :tada:. I love the usage of `sam` to develop the lambda function locally.\r\nWhen trying to make this work on my local environment I came across an error. This PR should fix that. \r\n\r\n### What has been done:\r\n- Replaced variable `destFile` with `outputFile`\r\n\r\n### How to test:\r\n- Run current application, notice how it fails invoking with an error: `ReferenceError: destFile is not defined`\r\n- Checkout PR\r\n- Try to re-run the application, notice how it now succeeds \r\n\r\n### Notes:\r\n- I had to add a bit of configuration to my AWS.S3 instance. Did you solve this differently? \r\n\r\n```javascript\r\nconst S3 = new AWS.S3({\r\n  signatureVersion: 'v4',\r\n  accessKeyId: '',\r\n  secretAccessKey: ''\r\n});\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/isummation/lambda-pdf-generator/issues/comments/405539480","html_url":"https://github.com/isummation/lambda-pdf-generator/pull/1#issuecomment-405539480","issue_url":"https://api.github.com/repos/isummation/lambda-pdf-generator/issues/1","id":405539480,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTUzOTQ4MA==","user":{"login":"isummation","id":960679,"node_id":"MDQ6VXNlcjk2MDY3OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/960679?v=4","gravatar_id":"","url":"https://api.github.com/users/isummation","html_url":"https://github.com/isummation","followers_url":"https://api.github.com/users/isummation/followers","following_url":"https://api.github.com/users/isummation/following{/other_user}","gists_url":"https://api.github.com/users/isummation/gists{/gist_id}","starred_url":"https://api.github.com/users/isummation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isummation/subscriptions","organizations_url":"https://api.github.com/users/isummation/orgs","repos_url":"https://api.github.com/users/isummation/repos","events_url":"https://api.github.com/users/isummation/events{/privacy}","received_events_url":"https://api.github.com/users/isummation/received_events","type":"User","site_admin":false},"created_at":"2018-07-17T10:42:02Z","updated_at":"2018-07-17T10:42:02Z","author_association":"OWNER","body":"Thanks @nstapelbroek . \r\n"}}
{"actor":{"display_login":"isummation"}}