github/webhook_request.py: fix timeout type

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-09-10 13:34:57 +02:00
parent e1244169a3
commit 4b3441989b
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ def parse_args():
help='Webhook Secret.') help='Webhook Secret.')
parser.add_argument('-p', '--payload', default=PAYLOAD, parser.add_argument('-p', '--payload', default=PAYLOAD,
help='Webhook Secret.') help='Webhook Secret.')
parser.add_argument('-t', '--timeout', default=5, parser.add_argument('-t', '--timeout', type=int, default=5,
help='Webhook request timeout.') help='Webhook request timeout.')
parser.add_argument('-n', '--no-verify', action='store_true', parser.add_argument('-n', '--no-verify', action='store_true',
help='Do not verify SSL certificate.') help='Do not verify SSL certificate.')