File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -701,7 +701,7 @@ export const mapEarlyResponse = (
701
701
)
702
702
703
703
return [
704
- responseToValue ( response , res , set as SetResponse ) ,
704
+ responseToValue ( response as Response , res , set as SetResponse ) ,
705
705
set as any
706
706
]
707
707
}
Original file line number Diff line number Diff line change @@ -191,6 +191,8 @@ export const attachWebSocket = (
191
191
const websocket : AnyWSLocalHook = route . websocket
192
192
193
193
const validateMessage = getSchemaValidator ( route . hooks . body , {
194
+ // @ts -expect-error private property
195
+ modules : app . definitions . typebox ,
194
196
// @ts -expect-error private property
195
197
models : app . definitions . type as Record < string , TSchema > ,
196
198
normalize : app . config . normalize
@@ -199,6 +201,8 @@ export const attachWebSocket = (
199
201
const validateResponse = getSchemaValidator (
200
202
route . hooks . response as any ,
201
203
{
204
+ // @ts -expect-error private property
205
+ modules : app . definitions . typebox ,
202
206
// @ts -expect-error private property
203
207
models : app . definitions . type as Record < string , TSchema > ,
204
208
normalize : app . config . normalize
You can’t perform that action at this time.
0 commit comments