Merge pull request #6317 from overleaf/jpa-send-explicit-content-type

[web] send explicit content type in responses

GitOrigin-RevId: d5aeaba57a7d2fc053fbf5adc2299fb46e435341
This commit is contained in:
Jakob Ackermann
2022-01-17 10:19:53 +00:00
committed by Copybot
parent 8ad6faa17e
commit d902505ac9
43 changed files with 390 additions and 224 deletions

View File

@@ -26,7 +26,7 @@ module.exports = {
if (err != null) {
return res.sendStatus(500)
} else {
return res.send(projectsDeactivated)
return res.json(projectsDeactivated)
}
}
)