Skip to content

Commit

Permalink
fix: new language key for error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Aug 14, 2020
1 parent de8eebb commit 7456a0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/upgrades/1.5.0/flags_refactor.js
Expand Up @@ -75,7 +75,7 @@ module.exports = {
}
},
], function (err) {
if (err && err.message === '[[error:already-flagged]]') {
if (err && err.message === '[[error:post-already-flagged]]') {
// Already flagged, no need to parse, but not an error
next();
} else {
Expand Down

0 comments on commit 7456a0e

Please sign in to comment.