updates on the uild
This commit is contained in:
@@ -468,7 +468,7 @@ export const fetchAllRiders = async ({ pageParam = 1, queryKey }) => {
|
||||
const [, appId, debouncedSearch, tabvalue] = queryKey;
|
||||
|
||||
const url = `${process.env.REACT_APP_URL
|
||||
}/partners/getallriders/?applocationid=${appId}&pageno=${pageParam}&pagesize=${20}&keyword=${debouncedSearch}&status=${tabvalue == 0 ? '' : 'Active'
|
||||
}/partners/getallriders/?applocationid=${appId}&pageno=${pageParam}&pagesize=${20}&keyword=${debouncedSearch}&status=${(tabvalue == 0 || tabvalue == 2) ? '' : 'Active'
|
||||
}`;
|
||||
const res = await axios.get(url);
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user