complete paginations
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import { TransactionsResponse } from "../../types";
|
||||
import { TableParams, TransactionsResponse } from "../../types";
|
||||
import axiosInstance from "../axios";
|
||||
|
||||
export const getTransactionsList = () => axiosInstance.get<TransactionsResponse>("/gps/withdraw")
|
||||
export const getTransactionsList = (params: TableParams) => axiosInstance.get<TransactionsResponse>("/gps/withdraw", {
|
||||
params: params
|
||||
})
|
||||
Reference in New Issue
Block a user