Skip to content

Commit

Permalink
credit allocation id serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
scrungus committed Jul 24, 2024
1 parent f64311f commit d1fc3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coral_credits/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def to_representation(self, instance):
class CreditAllocationSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = models.CreditAllocation
fields = ["name", "created", "account", "start", "end"]
fields = ["id", "name", "created", "account", "start", "end"]


class ResourceConsumptionRecord(serializers.ModelSerializer):
Expand Down

0 comments on commit d1fc3f3

Please sign in to comment.