From 84aa0a4ebf750dbcdf11d42f4dcce22fd0dc8c05 Mon Sep 17 00:00:00 2001 From: Evan Blaudy Date: Tue, 16 Jul 2024 12:50:18 +0200 Subject: [PATCH] [qa] fix organisation logo --- zou/app/blueprints/previews/resources.py | 2 +- zou/app/models/organisation.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/zou/app/blueprints/previews/resources.py b/zou/app/blueprints/previews/resources.py index 888ebd62d3..0bb1738205 100644 --- a/zou/app/blueprints/previews/resources.py +++ b/zou/app/blueprints/previews/resources.py @@ -1013,7 +1013,7 @@ def __init__(self): ) def is_exist(self, organisation_id): - self.model = persons_service.get_organisation(organisation_id) + self.model = persons_service.get_organisation() class CreateOrganisationThumbnailResource(OrganisationThumbnailResource): diff --git a/zou/app/models/organisation.py b/zou/app/models/organisation.py index 39436d1a5f..54da5727b8 100644 --- a/zou/app/models/organisation.py +++ b/zou/app/models/organisation.py @@ -32,5 +32,7 @@ def present(self): "hd_by_default": self.hd_by_default, "use_original_file_name": self.use_original_file_name, "timesheets_locked": self.timesheets_locked, + "updated_at": self.updated_at, + "created_at": self.created_at, } )