Skip to content
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.

Commit

Permalink
Merge pull request #61 from HackIllinois/staging
Browse files Browse the repository at this point in the history
Hotfix Version 0.0.2
  • Loading branch information
nmagerko authored Jan 28, 2017
2 parents add6197 + 22483cd commit 7ea8d82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1/utils/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports.format = function (target) {
if (_.isArray(target)) {
return _.map(target, (v) => _.isString(v) ? inflection.underscore(v, true) : v);
}
return _.isString(v) ? inflection.underscore(target, true) : target;
return _.isString(target) ? inflection.underscore(target, true) : target;
};

module.exports.parse = function (target) {
Expand Down

0 comments on commit 7ea8d82

Please sign in to comment.