bun
bun copied to clipboard
base64 decode the request body instead of encoding it a second time
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.