mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
Edit seed db function
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import DBClient from '@/prisma/client';
|
||||
import DBClient from '@/prisma/DBClient';
|
||||
import BeerPostQueryResult from './types/BeerPostQueryResult';
|
||||
|
||||
const prisma = DBClient.instance;
|
||||
@@ -14,6 +14,7 @@ const getBeerPostById = async (id: string) => {
|
||||
id: true,
|
||||
},
|
||||
},
|
||||
description: true,
|
||||
postedBy: {
|
||||
select: {
|
||||
firstName: true,
|
||||
|
||||
Reference in New Issue
Block a user