From a7def6e5770e19610a4814999cb11e03b6b1c3a6 Mon Sep 17 00:00:00 2001 From: Evan Blaudy Date: Wed, 13 Sep 2023 23:46:26 +0200 Subject: [PATCH] [qa][project] fix AttributeError: 'NoneType' object has no attribute 'items' --- zou/app/blueprints/crud/project.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zou/app/blueprints/crud/project.py b/zou/app/blueprints/crud/project.py index 12ad787d74..678dc892d7 100644 --- a/zou/app/blueprints/crud/project.py +++ b/zou/app/blueprints/crud/project.py @@ -157,6 +157,7 @@ def update_data(self, data, instance_id): types = [type_name for type_name, _ in PROJECT_STYLES] if data["production_style"] not in types: raise ArgumentsException("Invalid production_style") + return data @jwt_required() def delete(self, instance_id):