mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-29 05:40:24 +00:00
feat(topups): add support for fetching all topups in getTopups function ✨
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 7m2s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 7m2s
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