Fixed some linter issues
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Gregory Ballantine 2022-11-04 17:54:43 -04:00
parent 6455f3ff10
commit e958080702
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
const express = require('express');
const session = require('express-session');
//const flash = require('express-flasher');
// const flash = require('express-flasher');
// instantiate new express.js app
const app = express();
@ -22,8 +22,8 @@ app.use(session({
}));
// setup flash messaging
//app.use(flash.flash());
//app.use(flash.flashRead());
// app.use(flash.flash());
// app.use(flash.flashRead());
// set up body POST parameters
app.use(express.json());

View File

@ -10,7 +10,7 @@ exports.getIndex = async function(req, res) {
],
});
//req.flash('info', 'This is a test flash message.');
// req.flash('info', 'This is a test flash message.');
res.render('index.twig', {
inventory: items,