From b13f38025cb7c7d0ef868f64edb70d65357552e8 Mon Sep 17 00:00:00 2001
From: benjamin <benjamin@le-filament.com>
Date: Tue, 25 Jun 2024 17:00:24 +0200
Subject: [PATCH] [CLEAN] endpoint method

---
 controllers/endpoint.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/controllers/endpoint.py b/controllers/endpoint.py
index d87c4dc..6de14ce 100644
--- a/controllers/endpoint.py
+++ b/controllers/endpoint.py
@@ -17,7 +17,7 @@ class RouteApi(http.Controller):
         [f"{ROUTE_BASE}"],
         type="http",
         auth="none",
-        method=["GET"],
+        methods=["GET"],
     )
     def get_all_exposition(self):
         """
@@ -44,7 +44,7 @@ class RouteApi(http.Controller):
         ],
         type="http",
         auth="none",
-        method=["GET"],
+        methods=["GET"],
     )
     def get_model(self, model_name: str, exposition_name: str, id: int = None):
         domain = [
-- 
GitLab