Skip to content

Commit

Permalink
Merge pull request #1328 from yogeshojha/1322-bug-error-500-when-crea…
Browse files Browse the repository at this point in the history
…ting-a-periodic-scan-or-cloaked-scan

Fix slug while initiating periodic and clocked scan Fixes #1322
  • Loading branch information
yogeshojha authored Jul 26, 2024
2 parents edd3c85 + b93ad4a commit 416b2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/startScan/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 416b2dd

Please sign in to comment.