fix: test
This commit is contained in:
@@ -84,10 +84,7 @@ export const endpoints = {
|
||||
deleteSession: '/sessions/:id',
|
||||
|
||||
// ─── Backend-aligned: Exams ────────────────────────────────────────────────
|
||||
// `getExamsList` is not yet in the backend Postman doc, but per the user
|
||||
// the backend will add it at /exams — wired up now so the FE doesn't need
|
||||
// to change when the endpoint lands.
|
||||
getExamsList: '/exams',
|
||||
getExamsList: '/admin/exams',
|
||||
showExam: '/exams/:id',
|
||||
addNewExam: '/exams',
|
||||
updateExam: '/exams/:id',
|
||||
@@ -134,7 +131,7 @@ export const endpoints = {
|
||||
// backend Postman doc currently exposes only create/update/delete/submit/review;
|
||||
// list + show + submissions list + show-submission stay mock-only until backend
|
||||
// adds them, but URL shape is locked in.
|
||||
getAssignmentsList: '/homeworks',
|
||||
getAssignmentsList: '/admin/homeworks',
|
||||
showAssignment: '/homeworks/:id',
|
||||
getAssignmentSubmissions: '/homeworks/:homeworkId/submissions',
|
||||
showAssignmentSubmission: '/homework-submissions/:submissionId',
|
||||
|
||||
Reference in New Issue
Block a user