@@ -1336,7 +1336,7 @@ export const dispatchContestXp = async (
13361336} ;
13371337
13381338/**
1339- * GET /courses/{courseId}/admin/ assessments/{assessmentId}/scoreLeaderboard
1339+ * GET /courses/{courseId}/assessments/{assessmentId}/scoreLeaderboard
13401340 */
13411341export const getScoreLeaderboard = async (
13421342 assessmentId : number ,
@@ -1345,7 +1345,7 @@ export const getScoreLeaderboard = async (
13451345) : Promise < ContestEntry [ ] | null > => {
13461346 const params = new URLSearchParams ( { visible_entries : `${ visibleEntries } ` } ) ;
13471347 const resp = await request (
1348- `${ courseId ( ) } /admin/ assessments/${ assessmentId } /scoreLeaderboard?${ params . toString ( ) } ` ,
1348+ `${ courseId ( ) } /assessments/${ assessmentId } /scoreLeaderboard?${ params . toString ( ) } ` ,
13491349 'GET' ,
13501350 {
13511351 ...tokens
@@ -1368,7 +1368,7 @@ export const getScoreLeaderboard = async (
13681368} ;
13691369
13701370/**
1371- * GET /courses/{courseId}/admin/ assessments/{assessmentId}/popularVoteLeaderboard
1371+ * GET /courses/{courseId}/assessments/{assessmentId}/popularVoteLeaderboard
13721372 */
13731373export const getPopularVoteLeaderboard = async (
13741374 assessmentId : number ,
@@ -1377,7 +1377,7 @@ export const getPopularVoteLeaderboard = async (
13771377) : Promise < ContestEntry [ ] | null > => {
13781378 const params = new URLSearchParams ( { visible_entries : `${ visibleEntries } ` } ) ;
13791379 const resp = await request (
1380- `${ courseId ( ) } /admin/ assessments/${ assessmentId } /popularVoteLeaderboard?${ params . toString ( ) } ` ,
1380+ `${ courseId ( ) } /assessments/${ assessmentId } /popularVoteLeaderboard?${ params . toString ( ) } ` ,
13811381 'GET' ,
13821382 {
13831383 ...tokens
0 commit comments