seek-oss / serverless-haskell

Deploying Haskell applications to AWS Lambda with Serverless
MIT License
215 stars 22 forks source link

Fix for SNS messages embedded in SQS #142

Closed dmoverton closed 4 years ago

dmoverton commented 4 years ago

Turns out there was a bug in the traversal of SNS messages contained within an SQS event. Each record in the SQS event contains only one SNS messages, not a sequence of message records. I've fixed this and added a test.