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

Commit 9fb283b

Browse files
committed
fix: fix typo
1 parent 36e2e29 commit 9fb283b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/default-src-directory/src/api/counter/[action].ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default async function handler(req: APIRequest) {
2020
req.status(400).json({
2121
error: 'UnknownAction',
2222
status: 400,
23-
message: `undefined acton '${req.params.action}'`
23+
message: `undefined action '${req.params.action}'`
2424
})
2525
break
2626
}

examples/hello-world/api/counter/[action].ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default async function handler(req: APIRequest) {
2020
req.status(400).json({
2121
error: 'UnknownAction',
2222
status: 400,
23-
message: `undefined acton '${req.params.action}'`
23+
message: `undefined action '${req.params.action}'`
2424
})
2525
break
2626
}

examples/spa-mode/api/counter/[action].ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default async function handler(req: APIRequest) {
2020
req.status(400).json({
2121
error: 'UnknownAction',
2222
status: 400,
23-
message: `undefined acton '${req.params.action}'`
23+
message: `undefined action '${req.params.action}'`
2424
})
2525
break
2626
}

0 commit comments

Comments
 (0)