Skip to content

Commit

Permalink
fix: switch let to const
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierniki committed Sep 11, 2023
1 parent 2f3b724 commit b4c5f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/algolia-webhook/validateSignature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function verifyWebhookSignature({
const EnvironmentName = rawEnv.replace("env=", "")
const Timestamp = parseInt(rawTimestamp.replace("t=", ""))

let payload = JSON.stringify({
const payload = JSON.stringify({
Body: rawPayload || JSON.stringify(body),
EnvironmentName,
TimeStamp: Timestamp,
Expand Down

0 comments on commit b4c5f5f

Please sign in to comment.