fixed 4 errors

This commit is contained in:
2024-12-13 14:22:24 -05:00
parent 3f5a8288d5
commit 5f3fcd86dd
4 changed files with 16 additions and 6 deletions

View File

@@ -127,6 +127,16 @@ export async function getARTriggers(page = 1) {
const limit = 40;
const offset = (page - 1) * limit;
return await db.select()
.from(psa)
.limit(limit)
.where(and(like(psa.fineline, "%Trigger%"), like(psa.category, "Ar Parts")))
.offset(offset);
}
export async function getARParts(page = 1) {
const limit = 40;
const offset = (page - 1) * limit;
return await db.select()
.from(psa)
.limit(limit)