Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions services/hacker.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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!");
}

/**
Expand Down