diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index e21a7db0..6bf8b6f2 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). +## [Unreleased] + +### 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/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!"); } /**