From 7c4fe221734edb2d13b80e4ab870dcc1fcb30026 Mon Sep 17 00:00:00 2001
From: Arnaud Levy <contact@arnaudlevy.com>
Date: Sun, 20 Mar 2022 09:19:39 +0100
Subject: [PATCH] best

---
 app/views/api/lheo/index.xml.erb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/views/api/lheo/index.xml.erb b/app/views/api/lheo/index.xml.erb
index e1c23b4c8..6c55118a0 100644
--- a/app/views/api/lheo/index.xml.erb
+++ b/app/views/api/lheo/index.xml.erb
@@ -13,8 +13,8 @@
         <% if program.schools.any? %>
         <nom-organisme><![CDATA[<%= program.schools.first.name %>]]></nom-organisme>
         <% end %>
-        <objectif-formation><![CDATA[<%= program.objectives %>]]></objectif-formation>
-        <resultats-attendus><![CDATA[<%= program.results %>]]></resultats-attendus>
+        <objectif-formation><![CDATA[<%= program.best_objectives %>]]></objectif-formation>
+        <resultats-attendus><![CDATA[<%= program.best_results %>]]></resultats-attendus>
       </formation>
     <% end %>
   </offres>
-- 
GitLab