From d71a38da506046bf7cdacf5f596f757bc1ba15e3 Mon Sep 17 00:00:00 2001 From: Viktor van Wijk Date: Thu, 19 Dec 2024 12:30:48 +0100 Subject: [PATCH] :construction: [#4908] Allow relative api endpoint to be blank The user might want to send it to just the api root of the service --- src/openforms/registrations/contrib/json/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openforms/registrations/contrib/json/config.py b/src/openforms/registrations/contrib/json/config.py index 8b309be3d7..d71d7964da 100644 --- a/src/openforms/registrations/contrib/json/config.py +++ b/src/openforms/registrations/contrib/json/config.py @@ -19,6 +19,7 @@ class JSONOptionsSerializer(JsonSchemaSerializerMixin, serializers.Serializer): max_length=255, label=_("Relative API endpoint"), help_text=_("The API endpoint to send the data to (relative to the service API root)."), + allow_blank=True, ) form_variables = serializers.ListField( child=FormioVariableKeyField(max_length=50),