mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
removed unnecessary check
GitOrigin-RevId: 5b14d59c43cb1b85a63dc00f9d1293e08b284a59
This commit is contained in:
parent
d1011b74c0
commit
88e0cbd293
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ module.exports = {
|
|||
return res.status(422).send(JSON.stringify({ misspellings: [] }))
|
||||
}
|
||||
|
||||
if (language && !languageCodeIsSupported(language)) {
|
||||
if (!languageCodeIsSupported(language)) {
|
||||
// this log statement can be changed to 'error' once projects with
|
||||
// unsupported languages are removed from the DB
|
||||
logger.info({ language }, 'language not supported')
|
||||
|
|
Loading…
Reference in a new issue