From 6b3102e0ddcdff4c3d6a89c3bebe6dc9ad3fc9ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Jane=C5=BEi=C4=8D?= Date: Wed, 13 Nov 2024 21:08:50 +0100 Subject: [PATCH] fix: revert fdc response serialization to readonlyfield --- fdc/serializers/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdc/serializers/data.py b/fdc/serializers/data.py index ba5e0bd..2697942 100644 --- a/fdc/serializers/data.py +++ b/fdc/serializers/data.py @@ -4,7 +4,7 @@ class AttestationMinimalProofSerializer(serializers.ModelSerializer): - response = serializers.CharField(read_only=True) + response = serializers.ReadOnlyField() class Meta: model = AttestationResult