Skip to content

Commit

Permalink
api: webhook: fix header log
Browse files Browse the repository at this point in the history
  • Loading branch information
gioelecerati committed Apr 14, 2024
1 parent 565e43e commit b6108ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/api/src/controllers/access-control.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ async function fireGateWebhook(
process.hrtime(startTime)[1] / 1e6
}ms accessKey=${payload.accessKey} playbackId=${
content.playbackId
} webhook=${webhook.id} referer=${params.headers["Referer"]} origin=${
params.headers["Origin"]
}`
} webhook=${webhook.id} referer=${
payload.webhookPayload.headers["Referer"]
} origin=${payload.webhookPayload.headers["Origin"]}`
);
} else {
console.log(
Expand Down

0 comments on commit b6108ee

Please sign in to comment.