Skip to content

Commit e9cc8d8

Browse files
committed
Add option to skip signature verification
1 parent 11d3273 commit e9cc8d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/aiohttp-echo/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async def echo(self, request):
8989
async def main(port=8000):
9090
async_api_client = AsyncApiClient(configuration)
9191
line_bot_api = AsyncMessagingApi(async_api_client)
92-
parser = WebhookParser(channel_secret)
92+
parser = WebhookParser("Dummy Channel Secret", lambda: True) # Dummy value is fine to skip webhook signature verification
9393

9494
handler = Handler(line_bot_api, parser)
9595

0 commit comments

Comments
 (0)