Skip to content

Commit

Permalink
Save report changes
Browse files Browse the repository at this point in the history
  • Loading branch information
medihack committed Jun 15, 2024
1 parent 139d9db commit 333be5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions radis/reports/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 333be5f

Please sign in to comment.