Commit 7783325 adriasala124
committed
1 parent 56dad50 commit 7783325 Copy full SHA for 7783325
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -271,8 +271,8 @@ export abstract class HttpServerModule<
271
271
const contextValue = contextParameterConfig
272
272
? contextParameterConfig . value
273
273
: await httpServerModule . createContext ( {
274
- request,
275
- reflection : { controllerReflection, methodReflection }
274
+ request,
275
+ reflection : { controllerReflection, methodReflection }
276
276
} ) ;
277
277
278
278
const interceptorsBag = httpServerModule . prepareInterceptorBag ( {
@@ -420,7 +420,7 @@ export abstract class HttpServerModule<
420
420
}
421
421
422
422
if ( parameterConfig . source === 'body' ) {
423
- acc . body = parameterConfig . value ;
423
+ acc . body = parameterConfig . value || { } ;
424
424
}
425
425
426
426
if ( parameterConfig . source === 'header' ) {
You can’t perform that action at this time.
0 commit comments