Merge pull request #96 from taobataoma/katoxi-patch-1-1

Fix about rate miss trans line and show message
This commit is contained in:
katoxi
2019-05-22 22:14:57 +08:00
committed by GitHub

View File

@@ -204,7 +204,7 @@ exports.rating = function (req, res) {
});
if (exist) {
return res.status(422).send({
message: 'ALREADY_RATING'
message: 'ABOUT.ALREADY_RATING'
});
} else {
maker._ratings.push(rat);