Skip to content

Commit 1310b63

Browse files
Don't use abbreviations for variable names
Co-authored-by: Paul Robert Lloyd <paulrobertlloyd@users.noreply.github.com>
1 parent eb08002 commit 1310b63

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/controllers/book-into-a-clinic.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,8 @@ export const bookIntoClinicController = {
346346
}
347347

348348
// NB: request.session.save was needed to avoid race condition issues on heroku
349-
request.session.save((err) => {
350-
if (!err) response.redirect(nextUrl)
349+
request.session.save((error) => {
350+
if (!error) response.redirect(nextUrl)
351351
})
352352
},
353353

0 commit comments

Comments
 (0)