I am new to rtk-query and have a use case where I need an id from one service to be passed another service across the applications.
getAuthId: build.query({
query: () => ({
url: `/someurl`
})
}),
getDetails: build.query({
query: () => ({
url: `${authId}/url`
})
}),
in this use case getAuthId gives me the authId which I need to pass to all the calls subsequently.
is there any way I can do this with out using the skip as I need to use this across the application?