Skip to content

Commit

Permalink
Merge pull request #11 from Amsterdam/bugfix/tasks-add-case-to-serial…
Browse files Browse the repository at this point in the history
…izer

Added case id to serializer
  • Loading branch information
remyvdwereld authored Aug 9, 2024
2 parents 515aab6 + 30faf9e commit df11d3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/apps/workflow/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@


class CaseUserTaskSerializer(serializers.ModelSerializer):
case = serializers.PrimaryKeyRelatedField(queryset=Case.objects.all())

class Meta:
model = CaseUserTask
fields = (
Expand All @@ -23,6 +25,7 @@ class Meta:
"created",
"updated",
"completed",
"case",
)


Expand Down

0 comments on commit df11d3d

Please sign in to comment.