File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -93,8 +93,7 @@ export class SchemaRoutes {
9393
9494 parseRouteName = ( rawRoute ) => {
9595 const routeName =
96- this . config . hooks . onPreBuildRoutePath ( rawRoute ) ||
97- rawRoute ;
96+ this . config . hooks . onPreBuildRoutePath ( rawRoute ) || rawRoute ;
9897
9998 // TODO forbid leading symbols [\]^` in a major release (allowed yet for backwards compatibility)
10099 const pathParamMatches = ( routeName || "" ) . match (
@@ -163,7 +162,10 @@ export class SchemaRoutes {
163162
164163 queryParams . push ( {
165164 $match : paramName ,
166- name : typeof paramName === "string" ? lodash . camelCase ( paramName ) : lodash . camelCase ( String ( paramName ) ) ,
165+ name :
166+ typeof paramName === "string"
167+ ? lodash . camelCase ( paramName )
168+ : lodash . camelCase ( String ( paramName ) ) ,
167169 required : true ,
168170 type : "string" ,
169171 description : "" ,
You can’t perform that action at this time.
0 commit comments