Skip to content

Commit

Permalink
Update ProductSerializer to return only name, value and price_euro
Browse files Browse the repository at this point in the history
  • Loading branch information
DEENUU1 committed Dec 27, 2023
1 parent 83f0d18 commit 6e568cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion payment/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ class Meta:
class ProductSerializer(ModelSerializer):
class Meta:
model = Product
fields = "__all__"
fields = ("name", "value", "price_euro")

0 comments on commit 6e568cb

Please sign in to comment.