Skip to content

Commit

Permalink
Merge pull request #326 from ZdruzenieSTROM/series-id-in-semester-list
Browse files Browse the repository at this point in the history
Added series id to semester list endpoint
  • Loading branch information
mmihalik authored Dec 9, 2023
2 parents 49337b7 + 99bfdeb commit 6ee13a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion competition/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class SeriesSerializer(serializers.ModelSerializer):
class Meta:
model = models.Series
read_only_fields = ['complete']
fields = ['semester', 'order', 'deadline', 'complete']
fields = ['id', 'semester', 'order', 'deadline', 'complete']

def get_complete(self, obj: models.Series):
return obj.complete
Expand Down

0 comments on commit 6ee13a5

Please sign in to comment.