Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

fix: Fix broken tag page

MohamedBassem25d399c1abbc
diff --git a/packages/web/app/dashboard/tags/[tagName]/page.tsx b/packages/web/app/dashboard/tags/[tagName]/page.tsx
index e55c7d7e..81d10127 100644
--- a/packages/web/app/dashboard/tags/[tagName]/page.tsx
+++ b/packages/web/app/dashboard/tags/[tagName]/page.tsx
@@ -15,8 +15,10 @@ export default async function TagPage({
}
const tag = await prisma.bookmarkTags.findUnique({
where: {
- userId: session.user.id,
- name: params.tagName,
+ userId_name: {
+ userId: session.user.id,
+ name: params.tagName,
+ },
},
select: {
id: true,