Skip to content

Commit

Permalink
Fix Prisma failed to filter null pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
fuma-nama committed Jun 25, 2024
1 parent 916eabd commit 20ca68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/prisma-adapter/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function createAdapter({ db, joinUser }: Options): StorageAdapter {
orderBy: [{ timestamp: sort === "newest" ? "desc" : "asc" }],
where: {
page,
thread: thread ? Number(thread) : undefined,
thread: thread ? Number(thread) : null,
},
include: {
rates: auth
Expand Down

0 comments on commit 20ca68f

Please sign in to comment.