Skip to content

Overriding the header for wrapped baseQuery #2054

Answered by phryneas
checkDaResume asked this question in Q&A
Discussion options

You must be logged in to vote
headers: {
  authorization: `Bearer ${user.refresh}`
}

as if you are using fetch :)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@checkDaResume
Comment options

@checkDaResume
Comment options

@phryneas
Comment options

@checkDaResume
Comment options

Answer selected by checkDaResume
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants