mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 07:53:23 +00:00
feat: Gestion de la mise à jour des profiles / roles / lors de l'édition
du formulaire RF
This commit is contained in:
@ -8,7 +8,7 @@ import FileUpload from '@/components/FileUpload';
|
||||
import { FE_PARENTS_EDIT_SUBSCRIPTION_URL } from '@/utils/Url';
|
||||
import {
|
||||
fetchChildren,
|
||||
editRegisterFormWithBinaryFile,
|
||||
editRegisterForm,
|
||||
} from '@/app/actions/subscriptionAction';
|
||||
import logger from '@/utils/logger';
|
||||
import { BASE_URL } from '@/utils/Url';
|
||||
@ -71,7 +71,7 @@ export default function ParentHomePage() {
|
||||
formData.append('data', JSON.stringify(jsonData));
|
||||
formData.append('sepa_file', uploadedFile); // Ajoute le fichier SEPA
|
||||
|
||||
editRegisterFormWithBinaryFile(uploadingStudentId, formData, csrfToken)
|
||||
editRegisterForm(uploadingStudentId, formData, csrfToken)
|
||||
.then((response) => {
|
||||
logger.debug('RF mis à jour avec succès:', response);
|
||||
setReloadFetch(true);
|
||||
|
||||
Reference in New Issue
Block a user