frontend/src/common/api.js
/** Fetches exams that are already imported, available for import, etc. */
Fetches exams that are already imported, available for import, etc.
Fetches exams that are already imported available for import etc .
function useCourseExams(courseId) {
  return useQuery(["course", courseId, "exams"], () =>
    apiClient(`courses/${courseId}/exams`)
  );
}
function useCourseExams ( courseId ) { return useQuery ( [ "course" , courseId , "exams" ] , ( ) => apiClient ( ` ${ courseId } ` ) ) ; }
Fetches exams that are already imported, available for import, etc.
Fetches exams that are already imported available for import etc .