From 55127f123262bf0208708d31df33b9397d062bd5 Mon Sep 17 00:00:00 2001 From: Alex de Landgraaf Date: Thu, 5 Oct 2023 13:50:35 +0200 Subject: [PATCH] Update serializers.py --- .../components/contactmomenten/api/serializers.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/openklant/components/contactmomenten/api/serializers.py b/src/openklant/components/contactmomenten/api/serializers.py index b125df74..c150a345 100644 --- a/src/openklant/components/contactmomenten/api/serializers.py +++ b/src/openklant/components/contactmomenten/api/serializers.py @@ -182,11 +182,11 @@ def validate(self, attrs): self.instance, "medewerker_identificatie", None ) - if not medewerker and not medewerker_identificatie: - raise serializers.ValidationError( - _("medewerker or medewerkerIdentificatie must be provided"), - code="invalid-medewerker", - ) + #if not medewerker and not medewerker_identificatie: + # raise serializers.ValidationError( + # _("medewerker or medewerkerIdentificatie must be provided"), + # code="invalid-medewerker", + # ) return validated_attrs