more fises

This commit is contained in:
2024-12-18 13:51:12 -05:00
parent 12493feb6e
commit 587f183ffa
13 changed files with 112 additions and 67 deletions

View File

@@ -26,7 +26,7 @@ export async function getLowerBuildKits(page = 1) {
}
export async function getARCompleteLowers(page = 1) {
const limit = 40;
const limit = 240;
const offset = (page - 1) * limit;
return await db.select()
@@ -39,7 +39,7 @@ export async function getARCompleteLowers(page = 1) {
export async function getProductType(productType : any, page = 1) {
const limit = 40;
const offset = (page - 1) * limit;
await new Promise((resolve) => setTimeout(resolve,1000));
return await db.select()
.from(psa)
.limit(limit)