T
TanStack6mo ago
graceful-blue

getQuery not working in ServerRoutes (devinxi)

Before devinxi:
const { provider, clientID } = getQuery();
const { provider, clientID } = getQuery();
Now I have to do this:
const requestURL = getRequestURL();
const searchParams = requestURL.searchParams;

const provider = searchParams.get("provider");
const clientID = searchParams.get("clientID");
const requestURL = getRequestURL();
const searchParams = requestURL.searchParams;

const provider = searchParams.get("provider");
const clientID = searchParams.get("clientID");
Not a big deal, just throwing it out here in case getQuery should be working in devinxi
1 Reply
rival-black
rival-black6mo ago
do you have a full example?

Did you find this page helpful?