Commit 490884c 1 parent da87a30 commit 490884c Copy full SHA for 490884c
File tree 2 files changed +16
-20
lines changed
2 files changed +16
-20
lines changed Original file line number Diff line number Diff line change @@ -67,16 +67,14 @@ export const createChromeHandler = <TRouter extends AnyRouter>(
67
67
68
68
sendResponse ( {
69
69
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
70
- error : transformer . output . serialize (
71
- getErrorShape ( {
72
- config : router . _def . _config ,
73
- error,
74
- type : method ,
75
- path : params . path ,
76
- input : params . input ,
77
- ctx,
78
- } ) ,
79
- ) ,
70
+ error : getErrorShape ( {
71
+ config : router . _def . _config ,
72
+ error,
73
+ type : method ,
74
+ path : params . path ,
75
+ input : params . input ,
76
+ ctx,
77
+ } ) ,
80
78
} ) ;
81
79
} ;
82
80
Original file line number Diff line number Diff line change @@ -73,16 +73,14 @@ export const createWindowHandler = <TRouter extends AnyRouter>(
73
73
74
74
sendResponse ( {
75
75
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
76
- error : transformer . output . serialize (
77
- getErrorShape ( {
78
- config : router . _def . _config ,
79
- error,
80
- type : method ,
81
- path : params . path ,
82
- input : params . input ,
83
- ctx,
84
- } ) ,
85
- ) ,
76
+ error : getErrorShape ( {
77
+ config : router . _def . _config ,
78
+ error,
79
+ type : method ,
80
+ path : params . path ,
81
+ input : params . input ,
82
+ ctx,
83
+ } ) ,
86
84
} ) ;
87
85
} ;
88
86
You can’t perform that action at this time.
0 commit comments