Fix issues reported in the error reports of find the error while testing eprocure application

This commit is contained in:
Jaanu423
2026-01-15 17:17:04 +05:30
parent 211ee99ae9
commit 1e6ea480db
11 changed files with 89 additions and 109 deletions
+6 -2
View File
@@ -125,10 +125,14 @@ export const fetchPurchaseTender = async ({
export const fetchLiveTender = async (): Promise<any> => {
const data = await apiCall<any>('get', `${LIVE_TENDER}`);
export const fetchLiveTender = async ({page, size}:{page:number, size:number}): Promise<any> => {
console.log("page : ", page)
console.log("size : ", size)
const data = await apiCall<any>('get', `${LIVE_TENDER}?page=${page}&size=${size}`);
console.log("data : ", data)
return data
}
export const fetchTenderById = async (tenderId: string): Promise<any> => {
const data = await apiCall<any>(
'get',