From b93ad4a9a6f5e30602d3dc023ea57ea502733b29 Mon Sep 17 00:00:00 2001 From: Yogesh Ojha Date: Fri, 26 Jul 2024 09:19:23 +0530 Subject: [PATCH] fix slug for organization scan --- web/startScan/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/startScan/views.py b/web/startScan/views.py index ac08da282..189165d89 100644 --- a/web/startScan/views.py +++ b/web/startScan/views.py @@ -797,7 +797,7 @@ def schedule_organization_scan(request, slug, id): messages.INFO, f'Scan started for {ndomains} domains in organization {organization.name}' ) - return HttpResponseRedirect(reverse('scheduled_scan_view', kwargs={'slug': slug, 'id': id})) + return HttpResponseRedirect(reverse('scheduled_scan_view', kwargs={'slug': slug})) # GET request engine = EngineType.objects