Skip to content

Commit 979e9d8

Browse files
authored
🔧 fix(treaty): mvc pattern typo fix
1 parent 5ca0159 commit 979e9d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docs/patterns/mvc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)