Skip to content

Commit

Permalink
integer field
Browse files Browse the repository at this point in the history
fixes: pulp#1612
  • Loading branch information
jerabekjiri committed Oct 19, 2023
1 parent eab008d commit 275468d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pulp_ansible/app/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,10 +385,7 @@ class TagSerializer(serializers.ModelSerializer):
A serializer for the Tag model.
"""

count = serializers.SerializerMethodField()

def get_count(self, obj):
return obj.count
count = serializers.IntegerField()

class Meta:
model = Tag
Expand Down

0 comments on commit 275468d

Please sign in to comment.