From 333be5f74401740c18ef7045609323991c3944f4 Mon Sep 17 00:00:00 2001 From: medihack Date: Sat, 15 Jun 2024 14:10:33 +0200 Subject: [PATCH] Save report changes --- radis/reports/api/serializers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/radis/reports/api/serializers.py b/radis/reports/api/serializers.py index dd82aed4..6d12a953 100644 --- a/radis/reports/api/serializers.py +++ b/radis/reports/api/serializers.py @@ -88,6 +88,8 @@ def update(self, report: Report, validated_data: Any) -> Any: for attr, value in validated_data.items(): setattr(report, attr, value) + report.save() + report.groups.set(groups) report.metadata.all().delete()