Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TypeScript compilation error in aws-ts-apigateway #283

Merged
merged 2 commits into from
Apr 22, 2019

Commits on Apr 18, 2019

  1. Fix TypeScript compilation error in aws-ts-apigateway

    We know the pathParameters array will not be null, because we capture
    parameters in our route.
    ellismg committed Apr 18, 2019
    Configuration menu
    Copy the full SHA
    0711e55 View commit details
    Browse the repository at this point in the history
  2. Add guard to ensure that body is non null

    TypeScript was complianing a little later on when we tried to
    Buffer.from `event.body` since it may be null.
    ellismg committed Apr 18, 2019
    Configuration menu
    Copy the full SHA
    d8a958c View commit details
    Browse the repository at this point in the history