orliesaurus / nodemailer-mailgun-transport

nodemailer is an amazing node module to send emails within any of your nodejs apps. This is the transport plugin that goes with nodemailer to send email using Mailgun 🔫
MIT License
880 stars 97 forks source link

support option auth.apiKey as alias of auth.api_key #98

Closed zgid123 closed 3 years ago

zgid123 commented 3 years ago

Hi, we usually use eslint to check code style, and the camel case for variable or key of object is recommended. Also, I check the code of mailgun-js package, they also use apiKey instead of api_key too. So I think it would be nice if we support apiKey as an alias of api_key.

orliesaurus commented 3 years ago

Looks alright to me, thanks @zgid123