From 03d006ecf3ebb4eec77a8f6b37cb714f4294479a Mon Sep 17 00:00:00 2001 From: Bolaji Ayodeji Date: Wed, 12 Jun 2024 22:32:19 +0100 Subject: [PATCH] docs: update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ee59283..1da006a 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,6 @@ 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)); @@ -61,7 +60,8 @@ 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.