Skip to content
Snippets Groups Projects
Verified Commit 90f42481 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

fix: refer to the show while creating a show link

parent 950b3674
No related branches found
No related tags found
No related merge requests found
Pipeline #7986 passed
......@@ -717,7 +717,7 @@ class ShowSerializer(serializers.HyperlinkedModelSerializer):
instance = delete_links(instance)
for link_data in validated_data.get("links"):
ShowLink.objects.create(host=instance, **link_data)
ShowLink.objects.create(show=instance, **link_data)
instance.updated_by = self.context.get("request").user.username
......
  • @eigenwijsje should I create a test case ticket for that fix or is it already covered in the new test cases?

  • Author Owner

    I’m adding new test cases to catch this, No need for a ticket.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment