fix broken challenges and attempt to make streak more lenient.
This commit is contained in:
@ -342,8 +342,9 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"_id": "bd7126d8c431eddfaeb5bd3e",
|
"id": "bd7126d8c431eddfaeb5bd3e",
|
||||||
"name": "Waypoint: Add Free Code Camp to your LinkedIn Profile",
|
"name": "Waypoint: Add Free Code Camp to your LinkedIn Profile",
|
||||||
|
"dashedName": "waypoint-add-free-code-camp-to-your-linkedin-profile",
|
||||||
"difficulty": 0.008,
|
"difficulty": 0.008,
|
||||||
"challengeSeed": ["131574134"],
|
"challengeSeed": ["131574134"],
|
||||||
"description": [
|
"description": [
|
||||||
@ -372,7 +373,6 @@
|
|||||||
"descriptionPt": []
|
"descriptionPt": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"_id": "bd7137d8c441eddfaeb5bdef",
|
|
||||||
"id": "bd7137d8c441eddfaeb5bdef",
|
"id": "bd7137d8c441eddfaeb5bdef",
|
||||||
"name": "Waypoint: Get Help the Hacker Way with RSAP",
|
"name": "Waypoint: Get Help the Hacker Way with RSAP",
|
||||||
"dashedName": "waypoint-get-help-the-hacker-way-with-rsap",
|
"dashedName": "waypoint-get-help-the-hacker-way-with-rsap",
|
||||||
|
@ -165,7 +165,8 @@ module.exports = function(app) {
|
|||||||
if (
|
if (
|
||||||
moment(today).toString() === moment(timeKeys[0]).toString() ||
|
moment(today).toString() === moment(timeKeys[0]).toString() ||
|
||||||
moment(today).subtract(1, 'd').toString() ===
|
moment(today).subtract(1, 'd').toString() ===
|
||||||
moment(timeKeys[0]).toString()
|
moment(timeKeys[0]).toString() || moment(today).subtract(2, 'd').toString() ===
|
||||||
|
moment(timeKeys[0]).toString()
|
||||||
) {
|
) {
|
||||||
for (var _i = 1; _i <= timeKeys.length; _i++) {
|
for (var _i = 1; _i <= timeKeys.length; _i++) {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user