From 29bd482e2017bacd3fd57cc2ab78e42af29e4868 Mon Sep 17 00:00:00 2001 From: Nathan Freeman Date: Thu, 11 Jul 2024 15:16:41 -0500 Subject: [PATCH] Fix Task serializer --- src/api/src/backend/serializers/TaskSerializer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/src/backend/serializers/TaskSerializer.py b/src/api/src/backend/serializers/TaskSerializer.py index 8fffb35e..9e7b11a1 100644 --- a/src/api/src/backend/serializers/TaskSerializer.py +++ b/src/api/src/backend/serializers/TaskSerializer.py @@ -7,7 +7,7 @@ class TaskSerializer: @staticmethod def serialize(model): - base = BaseTaskSerializer(model) + base = BaseTaskSerializer.serialize(model) if model.type == TASK_TYPE_FUNCTION: return FunctionTaskSerializer.serialize(model, base=base)