Skip to content

Commit

Permalink
Fix case issue in header names (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
dirtybit authored Sep 25, 2020
1 parent 5a182d7 commit 65233ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/router/webhookEventRouter/webhookEventRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ webhookEventRouter.post("/",
try {
const webhookId = req.headers["zeplin-webhook-id"] as string;
const deliveryId = req.headers["zeplin-delivery-id"] as string;
const signature = req.headers["Zeplin-Signature"] as string;
const deliveryTimestamp = Number(req.headers["Zeplin-Delivery-Timestamp"]);
const signature = req.headers["zeplin-signature"] as string;
const deliveryTimestamp = Number(req.headers["zeplin-delivery-timestamp"]);
await webhookEventService.handleEventArrived({
webhookId,
deliveryId,
Expand Down

0 comments on commit 65233ab

Please sign in to comment.