Skip to content

Commit

Permalink
Update prevention_policy_hawk sample
Browse files Browse the repository at this point in the history
  • Loading branch information
okewoma authored and jshcodes committed Jul 18, 2024
1 parent d0848a4 commit ed70335
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions samples/prevention_policy/prevention_policy_hawk.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def consume_command_line():
parser = ArgumentParser(description=shiny_description(__doc__),
formatter_class=RawTextHelpFormatter
)
parser.add_argument("-d", "--debug",
parser.add_argument("-debug", "--debug",
help="Enable API debugging",
action="store_true",
default=False
Expand Down Expand Up @@ -621,7 +621,7 @@ def process_arguments(command,
falcon_policy = PreventionPolicy(client_id=args.falcon_client_id,
client_secret=args.falcon_client_secret,
debug=args.debug
)
)

# Review the provided arguments and then perform the request
process_arguments(*determine_arguments(args))
Expand Down
2 changes: 1 addition & 1 deletion samples/recon/email_monitoring_recon.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

falcon = Recon(client_id=args.falcon_client_id,
client_secret=args.falcon_client_secret,
base_url=args.base_url
base_url=args.base_url, debug=args.debug
)

QUERY = "("
Expand Down

0 comments on commit ed70335

Please sign in to comment.