Skip to content

Commit 4521723

Browse files
committed
fix(api-client): update identifier for callback types in API client factory
1 parent 374ba1e commit 4521723

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/tanstack-query-react-plugin/src/ts-factory/getCreateAPIClientFactory.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ const getCreateOperationClientFunctionFactory = ({
495495
),
496496
factory.createTypeReferenceNode(
497497
factory.createIdentifier(
498-
shouldImportAllCallbacks ? 'AllCallbacks' : 'DefaultCallbacks'
498+
shouldImportAllCallbacks ? 'AllCallbacks' : 'Callbacks'
499499
),
500500
undefined
501501
),
@@ -596,7 +596,7 @@ const getCreateOperationClientFunctionFactory = ({
596596
),
597597
factory.createTypeReferenceNode(
598598
factory.createIdentifier(
599-
shouldImportAllCallbacks ? 'AllCallbacks' : 'DefaultCallbacks'
599+
shouldImportAllCallbacks ? 'AllCallbacks' : 'Callbacks'
600600
),
601601
undefined
602602
),

0 commit comments

Comments
 (0)