Make changes to code to improve readability

This commit is contained in:
JP Wright
2017-11-03 12:45:01 +01:00
committed by Benedikt Rötsch
parent a110d848c0
commit cdb0a07ff7
3 changed files with 11 additions and 10 deletions

View File

@@ -142,7 +142,7 @@ module.exports.postSettings = async (request, response, next) => {
}
}
// When no errors occurred
// If no errors, then cache the new settings in the cookie
if (!errorList.length) {
// Store new settings
updateCookie(response, SETTINGS_NAME, settings)