Skip to content

Commit f8b975f

Browse files
Validation removed for Application Close Time (#636)
* Validation removed for Application Close Time * update changelog Co-authored-by: Loreina Chew <loreina.chew@gmail.com>
1 parent a34d169 commit f8b975f

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

.github/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
10+
### Changed
11+
12+
- Comment out application close validation
13+
814
## [2.1.2](https://github.com/hackmcgill/hackerapi/tree/2.1.2) - 2020-01-05
915

1016
### Changed

services/hacker.service.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ function createHacker(hackerDetails) {
1919

2020
let hacker;
2121

22-
if (Date.now() < Constants.APPLICATION_CLOSE_TIME) {
23-
hacker = new Hacker(hackerDetails);
24-
return hacker.save();
25-
}
26-
throw new Error("Sorry, the application deadline has passed!");
22+
//if (Date.now() < Constants.APPLICATION_CLOSE_TIME) {
23+
hacker = new Hacker(hackerDetails);
24+
return hacker.save();
25+
//}
26+
//throw new Error("Sorry, the application deadline has passed!");
2727
}
2828

2929
/**

0 commit comments

Comments
 (0)