unitaryfund/metriq-api

Fix: Incorrect comment for export of `resultModel.js`

Closed this issue · 0 comments

It looks like the following snippet contained in resultModel.js:

// Export Tag model.
const Result = module.exports = mongoose.model('result', resultSchema)
module.exports.get = function (callback, limit) {
  Result.find(callback).limit(limit)
}

incorrectly states Export Tag model., where it should instead be Export Result model.