Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
vverma022 committed Jul 21, 2024
1 parent f8a8163 commit 5d6efa2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend/src/routes/tag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ tagRouter.get("/", async (c) => {
id: true,
tagName: true,
},
where: {
tagsOnPost: {
some: {},
}
}
};
const tags = await prisma.tag.findMany(query);
return c.json({
Expand Down

0 comments on commit 5d6efa2

Please sign in to comment.