Skip to content

Commit 606eb2e

Browse files
Update Challenges param from groupIds to groups
1 parent fc7ae1f commit 606eb2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/challenge/filter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ export function mapToBackend(filter) {
382382
if (filter.or) return {};
383383

384384
const res = {};
385-
if (filter.groupIds) res.groupIds = filter.groupIds; // filter.groupIds.join(',');
385+
if (filter.groupIds) res.groups = filter.groupIds;
386386

387387
/* NOTE: Right now the frontend challenge filter by tag works different,
388388
* it looks for matches in the challenge name OR in the techs / platforms. */

0 commit comments

Comments
 (0)