Skip to content

Commit

Permalink
Merge pull request #1332 from yogeshojha/1329-bug-hackerone-settings-…
Browse files Browse the repository at this point in the history
…to-test-api-keys-are-not-working

Fix 500 error on "Test Hackerone api Key"
  • Loading branch information
yogeshojha authored Jul 28, 2024
2 parents 416b2dd + b18da3f commit 430c15b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions web/scanEngine/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,8 +358,7 @@ def proxy_settings(request, slug):


@has_permission_decorator(PERM_MODIFY_SCAN_CONFIGURATIONS, redirect_url=FOUR_OH_FOUR_URL)
def test_hackerone(request):
context = {}
def test_hackerone(request, slug):
if request.method == "POST":
headers = {
'Accept': 'application/json'
Expand Down

0 comments on commit 430c15b

Please sign in to comment.