Commit 2409a43 1 parent 50c30ea commit 2409a43 Copy full SHA for 2409a43
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ def _call_webhook(
153
153
headers = {"content-type" : "application/json" }
154
154
json_data = json .dumps (data , sort_keys = True , cls = DjangoJSONEncoder )
155
155
if webhook .secret :
156
- # TestWebHook on the frontend replicates this exact function, change the
156
+ # signPayload of frontend/web/components/ TestWebHook on the frontend replicates this exact function, change the
157
157
# function there if this changes.
158
158
signature = sign_payload (json_data , key = webhook .secret )
159
159
headers .update ({FLAGSMITH_SIGNATURE_HEADER : signature })
@@ -201,7 +201,7 @@ def call_webhook_with_failure_mail_after_retries(
201
201
headers = {"content-type" : "application/json" }
202
202
json_data = json .dumps (data , sort_keys = True , cls = DjangoJSONEncoder )
203
203
if webhook .secret :
204
- # TestWebHook on the frontend replicates this exact function, change the
204
+ # signPayload of frontend/web/components/ TestWebHook on the frontend replicates this exact function, change the
205
205
# function there if this changes.
206
206
signature = sign_payload (json_data , key = webhook .secret )
207
207
headers .update ({FLAGSMITH_SIGNATURE_HEADER : signature })
You can’t perform that action at this time.
0 commit comments