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

Commit 256fc3d

Browse files
reword around spellcheck
1 parent a3ff44b commit 256fc3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/reference/dart/api/api-route.mdx

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

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

58-
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.
58+
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.
5959

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

0 commit comments

Comments
 (0)