feat(topups): add support for fetching all topups in getTopups function ✨
This commit is contained in:
@@ -39,7 +39,7 @@ export async function AdminTopupsTable({
|
||||
}
|
||||
apiParams.limit = limit;
|
||||
apiParams.offset = offset;
|
||||
const [error, topups] = await tryCatch(getTopups(apiParams,));
|
||||
const [error, topups] = await tryCatch(getTopups(apiParams, true));
|
||||
|
||||
if (error) {
|
||||
if (error.message.includes("Unauthorized")) {
|
||||
|
||||
Reference in New Issue
Block a user