Why is require('sendgrid-rest')
repeated so much in /lib/sendgrid.js
?
#246
Labels
status: help wanted
requesting help from the community
type: community enhancement
feature request not on Twilio's roadmap
Issue Summary
When looking through
/lib/sendgrid.js
, I noticed thatrequire('sendgrid-rest')
was placed everywhere. I'm fairly sure thats bad practice and that you should include it only once in the top of the file.Technical details:
The text was updated successfully, but these errors were encountered: