Skip to content

Commit

Permalink
2023 again
Browse files Browse the repository at this point in the history
  • Loading branch information
TBleess authored Oct 30, 2024
1 parent 29aa9bd commit 75ec84a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions routes/jobs_by_sector.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module.exports = function(app, pg, conString) {

//create array of years
var year = (req.query.year).split(",");
var yeardomain = ["2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013", "2014", "2015", "2016", "2017", "2018", "2019", "2020", "2021", "2022"];
var yeardomain = ["2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013", "2014", "2015", "2016", "2017", "2018", "2019", "2020", "2021", "2022", "2023"];
if (!validate(year, yeardomain)) {
res.send('one of your year inputs is not valid!');
return;
Expand Down Expand Up @@ -209,7 +209,7 @@ app.get('/jobs0', function(req, res) {

//create array of years
var year = (req.query.year).split(",");
var yeardomain = ["2020", "2021", "2022"];
var yeardomain = ["2020", "2021", "2022", "2023"];
if (!validate(year, yeardomain)) {
res.send('one of your year inputs is not valid!');
return;
Expand Down Expand Up @@ -531,7 +531,7 @@ app.get('/jobs0', function(req, res) {

//create array of years
var year = (req.query.year).split(",");
var yeardomain = ["2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013", "2014", "2015", "2016", "2017", "2018", "2019", "2020", "2021", "2022"];
var yeardomain = ["2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009", "2010", "2011", "2012", "2013", "2014", "2015", "2016", "2017", "2018", "2019", "2020", "2021", "2022", "2023"];
if (!validate(year, yeardomain)) {
res.send('one of your year inputs is not valid!');
return;
Expand Down

0 comments on commit 75ec84a

Please sign in to comment.