File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/openapi-ts/src/plugins/@tanstack/query-core Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -917,9 +917,7 @@ export const handlerLegacy: Plugin.LegacyHandler<
917
917
( model ) => model . meta ?. $ref === ref ,
918
918
) ;
919
919
return refModel ?. properties . find ( ( property ) => {
920
- const paginationRegExp = getPaginationKeywordsRegExp (
921
- plugin . config ,
922
- ) ;
920
+ const paginationRegExp = getPaginationKeywordsRegExp ( config ) ;
923
921
paginationRegExp . lastIndex = 0 ;
924
922
if ( paginationRegExp . test ( property . name ) ) {
925
923
paginationField = property ;
@@ -929,7 +927,7 @@ export const handlerLegacy: Plugin.LegacyHandler<
929
927
}
930
928
931
929
return parameter . properties . find ( ( property ) => {
932
- const paginationRegExp = getPaginationKeywordsRegExp ( plugin . config ) ;
930
+ const paginationRegExp = getPaginationKeywordsRegExp ( config ) ;
933
931
paginationRegExp . lastIndex = 0 ;
934
932
if ( paginationRegExp . test ( property . name ) ) {
935
933
paginationField = property ;
You can’t perform that action at this time.
0 commit comments