@ -17,6 +17,6 @@ class Users::AuthenticationAppliesController < Users::BaseAccountController
private
def create_params
params.permit(:name, :gender, :id_number, :upload_image, :attachment_ids)
params.permit(:name, :gender, :id_number, :upload_image, attachment_ids: [])
end
@ -17,6 +17,6 @@ class Users::ProfessionalAuthAppliesController < Users::BaseAccountController
params.permit(:school_id, :department_id, :identity, :extra, :upload_image, :attachment_ids)
params.permit(:school_id, :department_id, :identity, :extra, :upload_image, attachment_ids: [])