Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
BolajiAyodeji authored Jun 12, 2024
1 parent 5b11e69 commit 03d006e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ app.get("/", (req, res) => {
res.json({ hello: "Hello world!" });
});

// The APItoolkit error handler must be before any other error middleware and after all controllers
app.use(apitoolkitClient.errorHandler);

app.listen(port, () => console.log("App running on port: " + port));
```

> [!NOTE]
>
> The `{ENTER_YOUR_API_KEY_HERE}` demo string should be replaced with the [API key](https://apitoolkit.io/docs/dashboard/settings-pages/api-keys?utm_source=github-sdks) generated from the APItoolkit dashboard.
> - The `{ENTER_YOUR_API_KEY_HERE}` demo string should be replaced with the [API key](https://apitoolkit.io/docs/dashboard/settings-pages/api-keys?utm_source=github-sdks) generated from the APItoolkit dashboard.
> - The `apitoolkitClient.errorHandler` must be after all controllers and before any other error middleware.
<br />

Expand Down

0 comments on commit 03d006e

Please sign in to comment.