mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-05 17:05:46 +01:00
Don't return deleted website on share page.
This commit is contained in:
parent
c851f3bb3c
commit
afa903a4a0
@ -21,6 +21,7 @@ export async function getSharedWebsite(shareId: string) {
|
|||||||
return findWebsite({
|
return findWebsite({
|
||||||
where: {
|
where: {
|
||||||
shareId,
|
shareId,
|
||||||
|
deletedAt: null,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user