Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit e32037b

Browse files
reword around spellcheck
1 parent 1d29f28 commit e32037b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/dart/api/api-route.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ final customersRoute = Nitric.api("public").route("/customers/:customerId");
5656

5757
### Create a route with a middleware chain
5858

59-
When creating your route you can supply middlewares that will run before any of the handlers on that specific route. If one succeeds, it will move on to the next. This allows middleware to be composed into more complex handlers. You can call the next middleware in the chain using `ctx.next()`. If a middleware in the chain does not call `.next` and instead returns the base context, the call chain will end.
59+
When creating your route you can supply a list of middleware that will run before any of the handlers. If the middleware succeeds it will move on to the next middleware in the chain. This allows middleware to be composed into more complex handlers. You can call the next middleware in the chain using `ctx.next()`. If a middleware in the chain does not call `.next` and instead returns the base context, the call chain will end.
6060

6161
```dart
6262
import 'package:nitric_sdk/nitric.dart';

0 commit comments

Comments
 (0)