Pretty format (#20352)
* Update prettier flow to include JS * Run prettier * ...run prettier
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
export default function handleCSRFError (error, req, res, next) {
|
||||
export default function handleCSRFError(error, req, res, next) {
|
||||
// If the CSRF token is bad
|
||||
if (error.code === 'EBADCSRFTOKEN') {
|
||||
return res.sendStatus(403)
|
||||
|
||||
Reference in New Issue
Block a user