Skip to content

Commit 549a5c4

Browse files
💩 fix: fix broken zaaktype create due to Open Zaak update
1 parent 5d4f163 commit 549a5c4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

backend/src/openbeheer/zaaktype/constants.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212

1313
from openbeheer.types import FrontendFieldSet, FrontendFieldsets, make_fields_optional
1414
from openbeheer.types.ztc import (
15-
Catalogus,
15+
BronCatalogus,
16+
BronZaaktype,
1617
IndicatieInternOfExternEnum,
1718
ReferentieProces,
1819
VertrouwelijkheidaanduidingEnum,
@@ -278,8 +279,8 @@ def __post_init__(self):
278279
),
279280
"selectielijst_procestype": "",
280281
"verantwoordelijke": "De verantwoordelijke (soort) organisatie.",
281-
"broncatalogus": make_fields_optional(Catalogus)(url="", domein="", rsin=""),
282-
"bronzaaktype": OptionalZaakType(identificatie="", omschrijving=""),
282+
"broncatalogus": BronCatalogus(url="", domein="", rsin=""),
283+
"bronzaaktype": BronZaaktype(url="", identificatie="", omschrijving=""),
283284
"begin_geldigheid": date.today(),
284285
"versiedatum": date.today(),
285286
"catalogus": "",

0 commit comments

Comments
 (0)