Skip to content

Commit

Permalink
Merge pull request #290 from SELab-2/backend_extras
Browse files Browse the repository at this point in the history
Kleine patch die er gewoon voor zorgt dat je PATCH requests kan doen …
  • Loading branch information
LGDTimtou authored May 20, 2024
2 parents 91b2f43 + e8e439e commit a8326cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/serializers/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ def update(self, instance, validated_data):
Returns:
Project: Het bijgewerkte project.
"""
validated_data.pop("max_groep_grootte", instance.max_groep_grootte)
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 a8326cb

Please sign in to comment.