awslabs / cognito-at-edge

Serverless authentication solution to protect your website or Amplify application
Apache License 2.0
168 stars 54 forks source link

Fix type mismatch of the status code #35

Closed piotrekwitkowski closed 2 years ago

piotrekwitkowski commented 2 years ago

Issue # (if available): Fixes #34

Description of changes: Status property is now a string, as in the CloudFrontRequestResult. Added return type to the handler function.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

piotrekwitkowski commented 2 years ago

That's right, I fixed that too now.