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