feat: add escalation email field for LTI-based proctoring providers (#736)
This commit adds an escalation email field for LTI-based proctoring providers to the Proctoring modal on the Pages & Resources page. This field behaves identically to the Proctortrack escalation email.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { getAuthenticatedHttpClient } from '@edx/frontend-platform/auth';
|
||||
import { getConfig } from '@edx/frontend-platform';
|
||||
import { convertObjectToSnakeCase } from '../../utils';
|
||||
|
||||
class ExamsApiService {
|
||||
static isAvailable() {
|
||||
@@ -26,8 +27,9 @@ class ExamsApiService {
|
||||
}
|
||||
|
||||
static saveCourseExamConfiguration(courseId, dataToSave) {
|
||||
const snakecaseDataToSave = convertObjectToSnakeCase(dataToSave, true);
|
||||
const apiClient = getAuthenticatedHttpClient();
|
||||
return apiClient.patch(this.getExamConfigurationUrl(courseId), dataToSave);
|
||||
return apiClient.patch(this.getExamConfigurationUrl(courseId), snakecaseDataToSave);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user