diff options
author | Adam Buczynski <adambuczynski@gmail.com> | 2016-07-27 11:29:36 +1200 |
---|---|---|
committer | Adam Buczynski <adambuczynski@gmail.com> | 2016-07-27 11:29:36 +1200 |
commit | 18da9c733950313fd0a17336760f3ab1ac38ccff (patch) | |
tree | 5f9b92f079d48722a8c47a1625aeebd3b10b811f | |
parent | 7da7ab726d1b7a3375b6b4b9ceef88755270b0e2 (diff) | |
parent | d051d8f055631619f51719648f7e6e29005623fd (diff) | |
download | sendgrid-nodejs-18da9c733950313fd0a17336760f3ab1ac38ccff.zip sendgrid-nodejs-18da9c733950313fd0a17336760f3ab1ac38ccff.tar.gz sendgrid-nodejs-18da9c733950313fd0a17336760f3ab1ac38ccff.tar.bz2 |
Merge branch 'eslint' into callback-function-signature
-rw-r--r-- | lib/sendgrid.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sendgrid.js b/lib/sendgrid.js index 08f8646..06d9902 100644 --- a/lib/sendgrid.js +++ b/lib/sendgrid.js @@ -19,6 +19,11 @@ function getEmptyRequest() { return JSON.parse(JSON.stringify(emptyRequest)); } +//Helper to get empty request +function getEmptyRequest() { + return JSON.parse(JSON.stringify(emptyRequest)); +} + // SendGrid allows for quick and easy access to the v3 Web API function SendGrid(apiKey, host, globalHeaders) { var Client = require('sendgrid-rest').Client; |