From bb0397cbc86b39dcd1d799370d1772e4c2f581b4 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Mon, 30 Jan 2023 17:25:52 -0500 Subject: [PATCH] lint: satisfy lint errors --- src/middleware/csrf.js | 2 +- src/middleware/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/middleware/csrf.js b/src/middleware/csrf.js index 4ad824bca1..73676cac4e 100644 --- a/src/middleware/csrf.js +++ b/src/middleware/csrf.js @@ -6,7 +6,7 @@ const { generateToken, csrfSynchronisedProtection, } = csrfSync({ - size: 64 + size: 64, }); module.exports = { diff --git a/src/middleware/index.js b/src/middleware/index.js index 57b6cc1231..995b74c744 100644 --- a/src/middleware/index.js +++ b/src/middleware/index.js @@ -2,11 +2,11 @@ const async = require('async'); const path = require('path'); -const { csrfSynchronisedProtection } = require('./csrf'); const validator = require('validator'); const nconf = require('nconf'); const toobusy = require('toobusy-js'); const util = require('util'); +const { csrfSynchronisedProtection } = require('./csrf'); const plugins = require('../plugins'); const meta = require('../meta');