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

Commit 5fb6fef

Browse files
committed
change the parameter name.
1 parent 4065632 commit 5fb6fef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

actions/challenges.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1502,7 +1502,7 @@ exports.getChallenge = {
15021502
name: "getChallenge",
15031503
description: "getStudioChallenge",
15041504
inputs: {
1505-
required: ["contestId"],
1505+
required: ["challengeId"],
15061506
optional: ["refresh"]
15071507
},
15081508
blockedConnectionTypes: [],

routes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ exports.routes = {
141141
get: [
142142
{ path: "/:apiVersion/logs", action: "getLogTail" },
143143
{ path: "/:apiVersion/challenges/rss", action: "getChallengesRSS" },
144-
{ path: "/:apiVersion/challenges/:contestId", action: "getChallenge" },
144+
{ path: "/:apiVersion/challenges/:challengeId", action: "getChallenge" },
145145
{ path: "/:apiVersion/challenges", action: "searchSoftwareAndStudioChallenges" },
146146

147147
{ path: "/:apiVersion/develop/challenges/checkpoint/:challengeId", action: "getSoftwareCheckpoint" },

0 commit comments

Comments
 (0)