refactor: language card renderer refactor (#1184)

* refactor: language card render refactor

* chore: change error msg
This commit is contained in:
Anurag Hazra
2021-07-11 19:28:06 +05:30
committed by GitHub
parent 99aea7f803
commit 112efb4b92
3 changed files with 162 additions and 118 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ module.exports = async (req, res) => {
}
if (locale && !isLocaleAvailable(locale)) {
return res.send(renderError("Something went wrong", "Language not found"));
return res.send(renderError("Something went wrong", "Locale not found"));
}
try {