From 9a24d96dd2be5feed524e043766306c815d6a67c Mon Sep 17 00:00:00 2001
From: Juliana <juliana@le-filament.com>
Date: Wed, 1 Feb 2023 12:09:58 +0100
Subject: [PATCH] [UPD]add field HTML

---
 services/operation_services.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/services/operation_services.py b/services/operation_services.py
index 792f0fa..beadef4 100644
--- a/services/operation_services.py
+++ b/services/operation_services.py
@@ -72,6 +72,7 @@ class OperationsService(Component):
                     "name": n.name,
                     "date_actu": n.date_actu if n.date_actu else None,
                     "content": n.content,
+                    "content_html": n.content_html,
                 }
             )
         return datas
@@ -161,6 +162,7 @@ class OperationsService(Component):
                     "name": n.name,
                     "date_actu": n.date_actu,
                     "content": n.content,
+                    "content_html": n.content_html,
                 }
             )
 
@@ -669,6 +671,7 @@ class OperationsService(Component):
                         "name": {"type": "string"},
                         "date_actu": {"type": "date"},
                         "content": {"type": "string", "nullable": True},
+                        "content_html": {"type": "string", "nullable": True},
                     },
                 },
             },
@@ -716,6 +719,7 @@ class OperationsService(Component):
                         "name": {"type": "string"},
                         "date_actu": {"type": "date", "nullable": True},
                         "content": {"type": "string", "nullable": True},
+                        "content_html": {"type": "string", "nullable": True},
                     },
                 },
             },
-- 
GitLab