bun icon indicating copy to clipboard operation
bun copied to clipboard

base64 decode the request body instead of encoding it a second time

Open mangs opened this issue 8 months ago • 0 comments

What does this PR do?

The Bun lambda layer is correctly identifying when a request body is base64 encoded. However, instead of base64 decoding it, it encodes it a second time. This PR corrects the mistake.

[!NOTE] I'm running one last test on our staging environment to ensure this works correctly before I mark this PR as not a draft

  • [ ] Documentation or TypeScript types (it's okay to leave the rest blank in this case)
  • [x] Code changes

How did you verify your code works?

Tested on an AWS environment. This package didn't have any tests before so I just performed manual testing.

mangs avatar Jun 27 '24 22:06 mangs