code-examples
code-examples copied to clipboard
Code snippets for customers
NOTICE: If this pull request does not apply to your repository, feel free to close this pull request. This is a generated pull request by [github-tools](https://github.com/netlify/github-tools/) to add Fossa license...
https://github.com/netlify/code-examples/blob/0328264d69b9bf970b8e6f92c662276b75873a9b/function_examples/sentry_releases/cmd/deploy-succeeded/main.go#L21 That's one pointless piece of code. Change to ```go NewDecoder(request.Body) ``` request.Body is of type io.ReadCloser and therefore can just be passed into `NewDecoder`, as it expects an io.Reader....
Sure people can't get your Google Maps API key but now they have your Lambda function that gives them the same access. e.g. (https://hzdf-maps.netlify.com/.netlify/functions/getapi?address=someplace) This ends up being even more...