unitaryfund/metriq-api

Fix: Incorrect message output for `methodController.js`

Closed this issue · 1 comments

In methodController.js it looks like:

// Validate the submission request and create the submission model.
exports.new = async function (req, res) {
  routeWrapper(res,
    async () => await methodService.submit(req.user.id, req.body),
    'New result added to submission!')
}

However, I think the message New result added to submission! should be replaced by New method added to submission!.