From f04a1bb2f53924b9e54ff21f5a12a8687fa0d801 Mon Sep 17 00:00:00 2001 From: Steven Date: Wed, 20 Nov 2024 14:36:32 +0100 Subject: [PATCH] Added missing field on present_minimal method of Person --- zou/app/models/person.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zou/app/models/person.py b/zou/app/models/person.py index f8f67a41cc..ce71965e71 100644 --- a/zou/app/models/person.py +++ b/zou/app/models/person.py @@ -182,6 +182,7 @@ def present_minimal(self, relations=False, milliseconds=False): ) return { "id": data["id"], + "type": data["type"], "first_name": data["first_name"], "last_name": data["last_name"], "full_name": self.full_name,