Refactor: update types for brewery comments

This commit is contained in:
Aaron William Po
2023-10-07 15:21:57 -04:00
parent 2ee12d351f
commit 3b626e2f95
13 changed files with 3388 additions and 3517 deletions

View File

@@ -23,6 +23,7 @@ const getAllBeerComments = async ({
content: true,
rating: true,
createdAt: true,
updatedAt: true,
postedBy: { select: { id: true, username: true, createdAt: true } },
},
});