platform · inferred from evidence
Node.js
A JavaScript runtime environment used for executing the code in the example.
- LinearWebhookClient Express docs example is wrong: `createHandler()` returns a Fetch-style handler
Yes, the docs example was wrong. `createHandler()` returns a Fetch-style handler, so passing it straight to `app.post` as Express middleware does not work. Linear fixed this in `@linear/sdk v55.2.0`, where `createHandler` supports both Fetc