styles n stuff

This commit is contained in:
ntr committed 2022-09-18 20:26:57 +10:00
1 parent 6b8ebe3f35
commit 470270954f
7 files changed
+25 -10

No files matched your search

+4 -1
View File
@@ -52,7 +52,10 @@ export default function createPg(log: Log, prisma: PrismaClient): Pg {
async function userOffers(user: User) {
return prisma.offer.findMany({
where: { userId: user.id },
where: {
userId: user.id,
status: { not: Status.Declined }
},
include: {
want: true,
},