Skip to content

Commit

Permalink
Return redacted description in request API
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanw committed Dec 13, 2023
1 parent d1994b6 commit f95888f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions froide/foirequest/api_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ class FoiRequestListSerializer(serializers.HyperlinkedModelSerializer):
)
tags = TagListField()

description = serializers.CharField(source="get_description")
redacted_description = serializers.SerializerMethodField()
costs = serializers.SerializerMethodField()

Expand Down

0 comments on commit f95888f

Please sign in to comment.