Skip to content

Commit

Permalink
🐛 Fix incorrect viewname for onderwerpobject URL attribute
Browse files Browse the repository at this point in the history
previously this used the Klantcontact view, causing incorrect URLs to appear in the detail response for the Onderwerpobject endpoint
  • Loading branch information
stevenbal committed Oct 3, 2024
1 parent b18da87 commit 2886954
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ class Meta:
extra_kwargs = {
"uuid": {"read_only": True},
"url": {
"view_name": "klantinteracties:klantcontact-detail",
"view_name": "klantinteracties:onderwerpobject-detail",
"lookup_field": "uuid",
"help_text": _("De unieke URL van dit klantcontact binnen deze API."),
},
Expand Down

0 comments on commit 2886954

Please sign in to comment.