Skip to content

Commit dbe24a2

Browse files
markeriksonShrugsy
andauthored
Apply suggestions from code review
Co-authored-by: Shrugsy <[email protected]>
1 parent 4aa846b commit dbe24a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/query/endpointDefinitions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,9 +374,9 @@ export type EndpointBuilder<
374374
* // `result` is the server response
375375
* providesTags: (result, error, id) => [{ type: 'Post', id }],
376376
* // trigger side effects or optimistic updates
377-
* onQuery(id, { dispatch, getState, extra, requestId, resultPromise, getCacheEntry, updateCacheEntry }) {},
377+
* onQueryStarted(id, { dispatch, getState, extra, requestId, queryFulfilled, getCacheEntry, updateCachedData }) {},
378378
* // handle subscriptions etc
379-
* onCacheEntryAdded(id, { dispatch, getState, extra, requestId, cleanup, firstValueResolved, getCacheEntry, updateCacheEntry }) {},
379+
* onCacheEntryAdded(id, { dispatch, getState, extra, requestId, cacheEntryRemoved, cacheDataLoaded, getCacheEntry, updateCachedData }) {},
380380
* }),
381381
* }),
382382
*});

0 commit comments

Comments
 (0)