Fix issues reported in the error reports of find the error while testing eprocure application
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user