Skip to content

Commit

Permalink
Don't return deleted website on share page.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecao committed Nov 27, 2024
1 parent c851f3b commit afa903a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/queries/prisma/website.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export async function getSharedWebsite(shareId: string) {
return findWebsite({
where: {
shareId,
deletedAt: null,
},
});
}
Expand Down

0 comments on commit afa903a

Please sign in to comment.