Fix(Backend): Correct receive_marketing_communications form boolean field output to database.

This commit is contained in:
2025-03-21 11:45:33 +00:00
parent 8485b8a24d
commit 3a8799058e

View File

@@ -130,7 +130,7 @@ class Contact_Form_Temp(db.Model, Base):
temp.name_contact = contact_form.name_contact
temp.name_company = contact_form.name_company
temp.message = contact_form.message
temp.receive_marketing_communications
temp.receive_marketing_communications = contact_form.receive_marketing_communications
temp.active = contact_form.active
temp.created_on = contact_form.created_on
return temp