Skip to content

Commit daa099b

Browse files
authored
Merge pull request #49 from AlandSleman/patch-2
Fix syntax
2 parents d5f4c87 + fa76037 commit daa099b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

docs/plugins/eden/treaty.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -226,10 +226,8 @@ const app = new Elysia()
226226
message(ws, message) {
227227
ws.send(message)
228228
},
229-
schema: {
230-
body: t.String(),
231-
response: t.String()
232-
}
229+
body: t.String(),
230+
response: t.String()
233231
})
234232
.listen(8080)
235233

0 commit comments

Comments
 (0)