From 2cbb43c6dba1b628466b2957477af8b455f8b6d5 Mon Sep 17 00:00:00 2001
From: goei <JsXLRu>
Date: Fri, 5 Jun 2020 17:26:25 +0200
Subject: [PATCH] TMSS-207: Typo in name change create_task_blueprint into
 create_scheduling_unit_blueprint

---
 SAS/TMSS/src/tmss/tmssapp/viewsets/specification.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/SAS/TMSS/src/tmss/tmssapp/viewsets/specification.py b/SAS/TMSS/src/tmss/tmssapp/viewsets/specification.py
index 6feb8623471..a0b46c103b3 100644
--- a/SAS/TMSS/src/tmss/tmssapp/viewsets/specification.py
+++ b/SAS/TMSS/src/tmss/tmssapp/viewsets/specification.py
@@ -169,7 +169,7 @@ class SchedulingUnitDraftViewSet(LOFARViewSet):
     @swagger_auto_schema(responses={201: 'Created task blueprint, see Location in Response header',
                                     403: 'forbidden'},
                          operation_description="Carve this draft task specification in stone, and make an (uneditable) blueprint out of it.")
-    @action(methods=['get'], detail=True, url_name="create_task_blueprint")
+    @action(methods=['get'], detail=True, url_name="create_scheduling_unit_blueprint")
     def create_scheduling_unit_blueprint(self, request, pk=None):
         scheduling_unit_draft = get_object_or_404(models.SchedulingUnitDraft, pk=pk)
         scheduling_unit_blueprint = create_scheduling_unit_blueprint_from_scheduling_unit_draft(scheduling_unit_draft)
-- 
GitLab