Don't return deleted website on share page.
This commit is contained in:
@@ -21,6 +21,7 @@ export async function getSharedWebsite(shareId: string) {
|
|||||||
return findWebsite({
|
return findWebsite({
|
||||||
where: {
|
where: {
|
||||||
shareId,
|
shareId,
|
||||||
|
deletedAt: null,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user