Skip to content

Commit

Permalink
api: Don't expose Publisher.getter_run in API
Browse files Browse the repository at this point in the history
In preparation for removing this field from the Model.
  • Loading branch information
R2ZER0 committed Feb 19, 2024
1 parent 9c64f4d commit 4c317e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions datastore/api/experimental/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,7 @@ class Meta:
class PublisherSerializer(serializers.ModelSerializer):
class Meta:
model = db.Publisher
exclude = ["id"]

getter_run = GetterRunSerializer()
exclude = ["id", "getter_run"]


class OrganisationListSerializer(serializers.Serializer):
Expand Down

0 comments on commit 4c317e3

Please sign in to comment.