I currently have two constant with different query:
const params = `?user=${userId}&page=${page}&limit=${limit}&sort=${sortby}`; const params2 = `