Skip to content

Commit

Permalink
fix: other query
Browse files Browse the repository at this point in the history
  • Loading branch information
EdSDR committed Oct 17, 2024
1 parent 4b860b3 commit d2a6b1a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/api/src/router/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export const moduleRouter = {
const offset = (page - 1) * limit;

const modules = await ctx.db.query.moduleData.findMany({
where: eq(moduleData.isWhitelisted, true),
limit: limit,
offset: offset,
orderBy: (moduleData, { asc, desc }) => [
Expand Down

0 comments on commit d2a6b1a

Please sign in to comment.