We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 972c283 commit 9687a3eCopy full SHA for 9687a3e
lib/middleware.ts
@@ -19,7 +19,7 @@ export default function middleware(config: Line.Config & Line.MiddlewareConfig):
19
return (req, res, next) => {
20
// header names are lower-cased
21
// https://nodejs.org/api/http.html#http_message_headers
22
- const signature = req.headers["x-line-signature"];
+ const signature = req.headers["x-line-signature"] as string;
23
24
if (!signature) {
25
next();
0 commit comments