Fix undo reverts and update flcc to working version (#748)
* Revert "Fix tinymce editor problems (#743)"
This reverts commit e6ce05571f.
* chore: update flcc to working version
* chore: update flcc to version that disables plugins
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