File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -118,10 +118,10 @@ WebhookParser
118118
119119 parser = linebot.v3.WebhookParser(' YOUR_CHANNEL_SECRET' )
120120
121- # or with skip_signature_verification
121+ # or with skip_signature_verification option
122122 parser = linebot.v3.WebhookParser(
123123 ' YOUR_CHANNEL_SECRET' ,
124- skip_signature_verification = lambda : True # or a function that returns a boolean
124+ skip_signature_verification = lambda : False
125125
126126parse(self , body, signature, as_payload = False )
127127^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -155,10 +155,10 @@ WebhookHandler
155155
156156 handler = linebot.v3.WebhookHandler(' YOUR_CHANNEL_SECRET' )
157157
158- # or with skip_signature_verification
158+ # or with skip_signature_verification option
159159 handler = linebot.v3.WebhookHandler(
160160 ' YOUR_CHANNEL_SECRET' ,
161- skip_signature_verification = lambda : True # or a function that returns a boolean
161+ skip_signature_verification = lambda : False
162162
163163handle(self , body, signature)
164164^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments