From dbdae7b3fee7aaa4b39f64df51a2cb2c8ee94a19 Mon Sep 17 00:00:00 2001 From: Maneth Date: Fri, 10 Jan 2020 15:05:22 -0500 Subject: [PATCH 1/2] Validation removed for Application Close Time --- services/hacker.service.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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!"); } /** From 4c5c3725b416bfb54428bdcaf4db0122d03add95 Mon Sep 17 00:00:00 2001 From: Loreina Chew Date: Sat, 11 Jan 2020 13:18:09 -0500 Subject: [PATCH 2/2] update changelog --- .github/CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) 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