File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export const validateRequest =
17
17
schema . parse ( { body : req . body , query : req . query , params : req . params } )
18
18
next ( )
19
19
} catch ( err ) {
20
- const errorMessage = `Invalid input: ${ ( err as ZodError ) . errors . map ( ( e ) => e . message ) . join ( ", " ) } `
20
+ const errorMessage = `Invalid input: ${ ( err as ZodError ) . errors . map ( ( e ) => ` ${ e . path ?. join ( "." ) } : ${ e . message } ` ) . join ( ", " ) } `
21
21
const statusCode = StatusCodes . BAD_REQUEST
22
22
const serviceResponse = ServiceResponse . failure ( errorMessage , statusCode )
23
23
return handleServiceResponse ( serviceResponse , res )
Original file line number Diff line number Diff line change 231
231
"decimals" : 18 ,
232
232
"logoURI" : " https://s2.coinmarketcap.com/static/img/coins/64x64/28656.png" ,
233
233
"meta" : {}
234
+ },
235
+ {
236
+ "addressInfo" : " 0xE9185Ee218cae427aF7B9764A011bb89FeA761B4" ,
237
+ "chainId" : 8453 ,
238
+ "name" : " BRZ" ,
239
+ "symbol" : " BRZ" ,
240
+ "decimals" : 18 ,
241
+ "logoURI" : " https://s2.coinmarketcap.com/static/img/coins/64x64/28656.png" ,
242
+ "meta" : {}
234
243
}
235
244
]
You can’t perform that action at this time.
0 commit comments