🐛 Bug fixes (#252)

🐛 Bug fixes (#252)
This commit is contained in:
Montassar Ghanmy
2023-11-15 10:00:03 +01:00
committed by GitHub
parent 43dc3843c4
commit 2bc9f0e4df
3 changed files with 8 additions and 2 deletions
@@ -183,7 +183,12 @@ export const calculateItemSize = async (
if (item.id === "trash_" + context.user.id) {
const trashedItems = await repository.find(
{ company_id: context.company.id, is_in_trash: true, scope: "personal" },
{
company_id: context.company.id,
creator: context.user.id,
is_in_trash: true,
scope: "personal",
},
{},
context,
);