Don't return deleted website on share page.

This commit is contained in:
Mike Cao 2024-11-27 11:56:52 -08:00
parent c851f3bb3c
commit afa903a4a0

View File

@ -21,6 +21,7 @@ export async function getSharedWebsite(shareId: string) {
return findWebsite({ return findWebsite({
where: { where: {
shareId, shareId,
deletedAt: null,
}, },
}); });
} }