From 95e09794acde2ba78d758a2cadfa5f2e3e50c62d Mon Sep 17 00:00:00 2001 From: Mika Hietanen Date: Tue, 26 Sep 2023 15:19:55 +0300 Subject: [PATCH] Include all fields for MobilityServiceNode --- services/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/api.py b/services/api.py index 8754e7c6a..835c85373 100644 --- a/services/api.py +++ b/services/api.py @@ -366,7 +366,7 @@ def root_service_nodes(self, obj): class Meta: model = MobilityServiceNode - exclude = ("service_reference",) + fields = "__all__" class ServiceSerializer(TranslatedModelSerializer, JSONAPISerializer):