Skip to content

Commit e8f5a57

Browse files
committed
2 parents 8760b23 + 823e63b commit e8f5a57

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/blog/elysia-10.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ For example, narrowing down an available status code.
360360
361361
Inline error can be destructured from handler as follows:
362362
```typescript
363-
import { Elysia } from 'elysai'
363+
import { Elysia } from 'elysia'
364364

365365
new Elysia()
366366
.get('/hello', ({ error }) => {

docs/patterns/mvc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ new Elysia()
9393
})
9494
```
9595

96-
If you would like to call or perform unit test on controller, use [Elysia.handle](http://localhost:5173/essential/route.html#handle).
96+
If you would like to call or perform unit test on controller, use [Elysia.handle](/essential/route.html#handle).
9797

9898
```typescript
9999
const app = new Elysia()
@@ -118,7 +118,7 @@ const AController = new Elysia()
118118
Hi.doStuff(stuff)
119119
})
120120

121-
const controller = plugin(AController)
121+
const controller = treaty(AController)
122122
const { data, error } = await controller.index.get()
123123
```
124124

0 commit comments

Comments
 (0)