Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 3fb2f2b

Browse files
author
tc_user
committed
fix issue 75
1 parent d7de22c commit 3fb2f2b

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/reducers/filter.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ const defaultState = {
2222
// ---
2323

2424
bucket: constants.FILTER_BUCKETS[1],
25-
recommended: false,
2625
},
2726
};
2827

src/utils/challenge.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,7 @@ const queryScheme = {
116116
tags: Joi.array().items(Joi.string()),
117117
startDateEnd: Joi.date(),
118118
endDateStart: Joi.date(),
119-
sortBy: Joi.string().valid(
120-
"bestMatch",
121-
"updated",
122-
"overview.totalPrizes",
123-
"name"
124-
),
119+
sortBy: Joi.string().valid("updated", "overview.totalPrizes", "name"),
125120
groups: Joi.array().items(Joi.optionalId()).unique(),
126121
events: Joi.array().items(Joi.string()),
127122
bucket: Joi.bucket(),

0 commit comments

Comments
 (0)