Skip to content

Commit

Permalink
[SE-231] Linting + vscode gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
sstaley-sparkpost committed Sep 25, 2019
1 parent 6a8bc2e commit 2e6fca5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
node_modules
xunit.xml
test/reports/*

# vscode
.vscode
8 changes: 4 additions & 4 deletions lib/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = function(client) {
uri: api
, qs: {}
};

Object.keys(parameters).forEach(function(paramname) {
if (Array.isArray(parameters[paramname])) {
options.qs[paramname] = parameters[paramname].join(',');
Expand All @@ -27,15 +27,15 @@ module.exports = function(client) {
return {
message: {
search: function(parameters, callback) {
api += '/message';
return search(parameters, callback);
api += '/message';
return search(parameters, callback);
}
},
ingest: {
search: function(parameters, callback) {
api += '/ingest';
return search(parameters, callback);
},
}
}
};
};

0 comments on commit 2e6fca5

Please sign in to comment.