diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index e21a7db0..7fed6b7d 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.1.3](https://github.com/hackmcgill/hackerapi/tree/2.1.3) - 2020-01-11 + +### Changed + +- Comment out application close validation + ## [2.1.2](https://github.com/hackmcgill/hackerapi/tree/2.1.2) - 2020-01-05 ### Changed diff --git a/VERSION b/VERSION index 8f9174b4..ac2cdeba 100755 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.1.2 \ No newline at end of file +2.1.3 diff --git a/package-lock.json b/package-lock.json index 17f75db6..145e4339 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "hackerAPI", - "version": "2.1.2", + "version": "2.1.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index be2c4f90..65906e9c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hackerAPI", - "version": "2.1.2", + "version": "2.1.3", "private": true, "scripts": { "start": "DEBUG=hackboard:* NODE_ENV=development nodemon --ignore gcp_creds.json ./bin/www.js", diff --git a/services/hacker.service.js b/services/hacker.service.js index 8cc7f262..b6b85c8e 100644 --- a/services/hacker.service.js +++ b/services/hacker.service.js @@ -19,11 +19,11 @@ function createHacker(hackerDetails) { let hacker; - if (Date.now() < Constants.APPLICATION_CLOSE_TIME) { - hacker = new Hacker(hackerDetails); - return hacker.save(); - } - throw new Error("Sorry, the application deadline has passed!"); + //if (Date.now() < Constants.APPLICATION_CLOSE_TIME) { + hacker = new Hacker(hackerDetails); + return hacker.save(); + //} + //throw new Error("Sorry, the application deadline has passed!"); } /**