From fca649134488ccd2e25f914b43469d0234b8eb88 Mon Sep 17 00:00:00 2001 From: Agit Rubar Demir <61833677+agitrubard@users.noreply.github.com> Date: Fri, 6 May 2022 22:11:48 +0300 Subject: [PATCH] Schedule File Controllers API URL Fixes | SIS-196 (#88) * apiUrl Field Has Been Deleted in saveExamScheduleFile Method * apiUrl Field Has Been Deleted in saveLessonScheduleFile Method --- public/api/exam-file/ExamScheduleFileController.js | 3 --- public/api/exam-file/LessonScheduleFileController.js | 3 --- 2 files changed, 6 deletions(-) diff --git a/public/api/exam-file/ExamScheduleFileController.js b/public/api/exam-file/ExamScheduleFileController.js index f1fbce9..489282d 100644 --- a/public/api/exam-file/ExamScheduleFileController.js +++ b/public/api/exam-file/ExamScheduleFileController.js @@ -17,9 +17,6 @@ const getExamScheduleFileDetailByDepartmentId = async (departmentId) => { }; const saveExamScheduleFile = async (examScheduleFileRequest) => { - - examScheduleFileRequest.append('apiUrl', SIS_API_URL); - const apiResult = await fetch(`${SIS_API_URL}/exam/schedule/file`, { body: examScheduleFileRequest, method: 'POST' diff --git a/public/api/exam-file/LessonScheduleFileController.js b/public/api/exam-file/LessonScheduleFileController.js index 1a3fe26..c06ac7c 100644 --- a/public/api/exam-file/LessonScheduleFileController.js +++ b/public/api/exam-file/LessonScheduleFileController.js @@ -17,9 +17,6 @@ const getLessonScheduleFileDetailByLessonScheduleFileId = async (departmentId) = }; const saveLessonScheduleFile = async (lessonScheduleFileRequest) => { - - lessonScheduleFileRequest.append('apiUrl', SIS_API_URL); - const apiResult = await fetch(`${SIS_API_URL}/lesson/schedule/file`, { body: lessonScheduleFileRequest, method: 'POST'