Skip to content

Commit 02c861f

Browse files
committed
Fixed Linter issue
1 parent ac58b5a commit 02c861f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/hackingBuddyGPT/usecases/web_api_testing/prompt_generation/information/pentesting_information.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -948,8 +948,8 @@ def generate_business_logic_vul_prompts(self):
948948
get_endpoints = self.get_correct_endpoints_for_method("sensitive_data_endpoint", "GET")
949949

950950
for endpoint, _, _ in get_endpoints:
951-
if "id}" in get_endpoint:
952-
get_endpoint = self.replace_placeholders_with_1(get_endpoint, account.get("id"))
951+
if "id}" in endpoint:
952+
get_endpoint = self.replace_placeholders_with_1(endpoint, account.get("id"))
953953
prompts = self.test_buisness_logic(endpoint, None, account, prompts, method="GET")
954954
post_endpoints = self.get_correct_endpoints_for_method("role_access_endpoint", "POST")
955955

0 commit comments

Comments
 (0)