refactor: remove individual_id as authorized parameter

This commit is contained in:
simon lehericey 2023-12-14 16:25:33 +01:00
parent 4b64e9f9a4
commit b915fe13c3
2 changed files with 2 additions and 2 deletions

View file

@ -590,7 +590,7 @@ module Users
end
def dossier_params
params.require(:dossier).permit(:for_tiers, :mandataire_first_name, :mandataire_last_name, individual_attributes: [:gender, :nom, :prenom, :birthdate, :email, :notification_method, :id])
params.require(:dossier).permit(:for_tiers, :mandataire_first_name, :mandataire_last_name, individual_attributes: [:gender, :nom, :prenom, :birthdate, :email, :notification_method])
end
def siret_params