Skip to content
Snippets Groups Projects
Commit 2cbb43c6 authored by goei's avatar goei
Browse files

TMSS-207: Typo in name change create_task_blueprint into create_scheduling_unit_blueprint

parent 9d4141de
Branches
No related tags found
1 merge request!162Intermediate merge of TMSS-207 to master
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment