Lambda function which links duplicate accounts together. Duplicate accounts exist when a user uses another form of login with the same email address. E.g: Google and then Facebook social login.
To build the lambda function run the following.
npm install
npm run build
To run the tests.
npm test
The following will package the lambda function into a zip bundle to allow manual deployment.
zip -q -r dist/lambda.zip node_modules dist