Skip to content

Commit

Permalink
Kleine patch die er gewoon voor zorgt dat je PATCH requests kan doen …
Browse files Browse the repository at this point in the history
…bij projecten zonder errors
  • Loading branch information
LGDTimtou committed May 20, 2024
1 parent 393826b commit 441bc87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/serializers/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ def update(self, instance, validated_data):
Returns:
Project: Het bijgewerkte project.
"""
validated_data.pop("max_groep_grootte")
validated_data.pop("project_groep")
validated_data.pop("max_groep_grootte", None)
validated_data.pop("project_groep", None)

deadline = validated_data.pop("deadline", instance.deadline)
extra_deadline = validated_data.pop("extra_deadline", instance.extra_deadline)
Expand Down

0 comments on commit 441bc87

Please sign in to comment.