Skip to content

Commit

Permalink
Fix: fix bug on updating program info
Browse files Browse the repository at this point in the history
  • Loading branch information
AmooHashem committed Jan 22, 2025
1 parent 0802c8d commit 7968373
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/fsm/serializers/program_serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ class Meta:


class ProgramSerializer(serializers.ModelSerializer):
program_contact_info = ProgramContactInfoSerializer(required=False)
program_contact_info = ProgramContactInfoSerializer(
required=False, allow_null=True)

def create(self, validated_data):
registration_form_serializer = RegistrationFormSerializer(
Expand Down

0 comments on commit 7968373

Please sign in to comment.