From 92dc1a26992aeedbde5f3777c1e8c8cc25ca92e1 Mon Sep 17 00:00:00 2001 From: chapeau Date: Mon, 19 Feb 2024 15:57:59 +0100 Subject: [PATCH] Fix a 500 error on /api/cotisations/cotisation/ api route --- cotisations/api/serializers.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cotisations/api/serializers.py b/cotisations/api/serializers.py index bfc785c7..c9afa8ce 100644 --- a/cotisations/api/serializers.py +++ b/cotisations/api/serializers.py @@ -112,7 +112,6 @@ class CotisationSerializer(NamespacedHMSerializer): model = cotisations.Cotisation fields = ( "vente", - "type_cotisation", "date_start_con", "date_end_con", "date_start_memb",